Calling LabVIEW from C++ Using ActiveX
The type library for LabVIEW 5.x and 6.x are slightly different. Use Aquire5.cpp with LabVIEW 5.x and Aquire6.cpp with LabVIEW 6.x.
Requirements
Filename: 1643.zip
Software Requirements
Application Software: LabVIEW Full Development System 5.0
Language(s): C++, LabVIEW
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy)
Reader Comments | Submit a comment »
Mod for LabVIEW 7
The document was very useful!!
Please note that, in LabVIEW Version 7.0,
the method 'GetVIReference' requires four
arguments. Therefore, the line:
pVI = pLV->GetVIReference(LPCTSTR(Path),
LPCTSTR(Password), 0);
Should be replaced with:
pVI = pLV->GetVIReference(LPCTSTR(Path),
LPCTSTR(Password), 0, 0);
- Mar 21, 2005
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
