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

TestStand cannot Load Object or Library files for CVI Adapter

Primary Software: TestStand
Primary Software Version: 4.0
Primary Software Fixed Version: N/A
Secondary Software: LabWindows/CVI Development Systems>>Base Package, LabWindows/CVI Development Systems>>Full Development System

Problem:
Using the CVI adapter in TestStand, I cannot load .obj or .lib files.  I am using TestStand 4.0.1 or earlier and CVI 8.5 or later.

Solution:
CVI 8.5 and later changed where library and object files are stored for compatibility reasons.  CVI now stores two different copies of these files; one copy is built with the Borland complier and stored in a /borland subdirectory, while the other copy is built with the MSVC compiler and stored in a /msvc subdirectory.  For example, the library and object files that were stored in <CVI>\bin are now stored in both <CVI>\bin\msvc and <CVI>\bin\borland

This change affects files in the following directories:
  • <CVI>\bin\
  • <CVI>\sdk\lib\
  • <CVI>\toolslib\toolbox\
  • <CVI>\toolslib\custctrl\
To allow TestStand 4.0.1 and earlier to use these object and library files, you need to copy these files from the compiler-specific subdirectory of the above four directories into <TestStand>\AdapterSupport\CVI\AutoLoadLibs

For example, if you wanted to use the MSVC compiler, you would copy the library and object files in the following directories into the <TestStand>\AdapterSupport\CVI\AutoLoadLibs folder.
  • <CVI>\bin\msvc\
  • <CVI>\sdk\lib\ msvc\
  • <CVI>\toolslib\toolbox\ msvc\
  • <CVI>\toolslib\custctrl\ msvc\


Related Links:

Attachments:





Report Date: 12/10/2007
Last Updated: 12/11/2007
Document ID: 4G9B1KQX

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