Using LabWindows/CVI libraries in external compilers» Table of Contents
Ni LabWindows/CVI 9.0 help
October 1, 2008
Ni part number:
370051m-01
» View Product Info
You can use the LabWindows/CVI libraries in either of the compatible external compilers by creating executables and DLLs that call the Labwindows/CVI libraries. labWindows/CVI ships with the run-time DLLs that contain all the libraries, and executable files you create in LabWindows/CVI also use these DLLs.
LabWindows/CVI installa startup library and DLL import libraries, all of which are compatible with your external compiler, In the Borland and msvc folders of following locations:
- CVIXx/Extlib
- National instruments/shared/CVI/extlib
- Windows Vista: programdata/national instruments/CVIXx/Extlib
- Windows XP/2000: Documents and Settings/all users/Application Data/national instruments/CVIXx/Extlib
|
NoteNever use the. Lib files in the CVIXx/Bin/Borland, CVIXx/Bin/msvc, national instruments/shared/CVI/bin/Borland, or national instruments/shared/CVI/bin/msvc directories in an external compiler. |
You always must include the following two libraries in your external compiler project. These libraries are located in the CVIXx/Extlib/Borland and CVIXx/Extlib/msvc directory.
- Cvisupp. Lib-startup Library
- Cvirt. Lib-import library to DLL containing the following libraries:
- User Interface library
- Formatting and I/O Library
- RS-232 library.
- DDE support library
- Real-time utility Library
- TCP support library
- UDP support library
- Utility Library
|
NoteThe real-time utility library is available when you install the Labwindows/CVI real-time module. For more information about this library, refer toLabWindows/CVI real-time module help» real-time utility LibrarySection of this Help file. |
The following table lists the DLL import library files you can add to your external compiler project and the directories where those files are located on your computer. the DLL import library files are located in the Borland and msvc folders of the directories listed in the table.
Import library file |
Library |
Location |
Analysis. Lib |
Analysis or advanced analysis Library |
Windows XP/2000: Documents and Settings/all users/Application Data/national instruments/CVIXx/Extlib Windows Vista: programdata/national instruments/CVIXx/Extlib |
Cviauto. Lib |
ActiveX Library |
CVIXx/Extlib |
Cviddc. Lib |
Diadem connectivity Library |
CVIXx/Extlib |
Cvidotnet. Lib |
. Net Library |
CVIXx/Extlib |
Cvintwrk. Lib |
Internet library |
CVIXx/Extlib |
Cvinetv. Lib |
Network variable library |
CVIXx/Extlib |
Cvitdms. Lib |
TDM streaming Library |
CVIXx/Extlib |
Dataacq. Lib |
Traditional NI-DAQ Library |
CVIXx/Extlib |
Gui. Lib |
GUI/GUI 488.2 Library |
CVIXx/Extlib |
IVI. Lib |
IVI Library |
National instruments/shared/CVI/extlib |
Nican. Lib |
NI-CAN library. |
National instruments/shared/CVI/extlib |
Nidaqmx. Lib |
Ni-daqmx Library |
National instruments/shared/CVI/extlib |
Nivxi. Lib |
VXI Library |
CVIXx/Extlib |
Visa. Lib |
VISA Library |
National instruments/shared/CVI/extlib |
|
NoteImport library files for National Instruments hardware libraries might be located in CVIXx/Extlib instead. |
If you use an instrument driver that makes references to both the GPIB/GPIB 488.2 and VXI libraries, You can include both GPIB. lib and nivxi. lib to resolve the references to symbols in those libraries. if you do not have access to one of these files, you can replace it with one of following files, located in CVIXx/Extlib/Borland and CVIXx/Extlib/msvc:
- Gpibstub. OBJ, which effecdes stub GPIB Functions
- Vxistub. OBJ, which between des stub VXI Functions
If you use functions in the programmer's toolbox, include CVIXx/Toolslib/toolbox/Borland/toolbox. OBJ or CVIXx/Toolslib/toolbox/msvc/toolbox. OBJ in your external compiler project.
If you use an external compiler that requires a winmain entry point, the optional library cviwmain. lib allows you to define only main in your program. the cviwmain. lib library file contains winmain function that callmain.