Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Unable to Load LSB file into Code Interface Node (CIN)

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System, LabVIEW Development Systems>>LabVIEW Base Package, LabWindows/CVI Development Systems>>Full Development System, LabWindows/CVI Development Systems>>Base Package

Problem:
I have created a LSB file, which I am trying to load into my Code Interface Node ( CIN ) in LabVIEW. I do not receive an error message when loading the LSB, but when I try executing my VI, I receive the error "Code Interface Node: object code is not loaded." How can I properly load my LSB file?

Solution:
It is possible to create a LSB file which cannot be loaded properly by LabVIEW.

If you created your LSB from a DLL generated by LabWindows/CVI, one possible cause of the problem is that the Target Settings were incorrect for creating a LSB file. To verify that your Target Settings are correct, perform the following steps:

1. Open your LabWindows/CVI project, which was used to generate your DLL
2. Select Build»Target Settings from the menu
3. Verify that the Export setting is set to "Include File Symbols," as shown in the figure below. If you have selected "Include File and Marked Symbols", the DLL will not work as a LSB file.
4. After changing the Export settings, recreate your DLL, build your LSB, and try loading it into your Code Interface Node in LabVIEW.





Related Links:
KnowledgeBase 1NTCNQX4: How to Create a LabVIEW Code Interface Node with LabWindows/CVI
KnowledgeBase 2ZTFS0W0: Why Do I Get A Link Error When I Try To Build My LSB File to Use With My CIN in LabVIEW?

Attachments:


targetsettings.jpg


Report Date: 12/30/2005
Last Updated: 04/13/2006
Document ID: 3STE592W

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