Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Why Do I Get an 'Undefined Symbol' Error When I Try To Build a Project in CVI Using Code Interface Node (CIN) Memory Manager Functions?

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 5.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

When I follow the steps to create a CIN/DLL explained in the Using External Code in LabVIEW manual, why do I get error "undefined symbol..." for memory management functions and some other functions such as MoveBlock and StringLen?

You must include the file labview.lib in the LabWindows/CVI project, which is in the cintools directory of your LabVIEW installation, to use those functions.

Attached is an example which demonstrates the correct procedure. The example also shows how you can use the memory manager functions to manipulate arrays and strings.

Note In LabVIEW 8.0 or later, refer to the Completing the .c File topic in the LabVIEW Help (linked below). In LabVIEW 7.1 or earlier, refer to the Using External Code in LabVIEW manual (linked below).

Related Links:
Product Manuals: Using External Code in LabVIEW
LabVIEW Help: Completing the .c File


Report Date: 12/12/2000
Last Updated: 04/14/2008
Document ID: 24BDGI1B

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit