12-31-2013
06:01 PM
- last edited on
02-06-2025
03:31 PM
by
Content Cleaner
Frequently equipment manufacturers only have a LabVIEW interface available as an instrument driver, but I use LabWindows. There was an example provided by NI at: http://www.ni.com/example/29345/en/. The title is:
Making a LabVIEW VI an Embedded Child Window of a LabWindows/CVI Panel
However, this example is possibly out of date (2006) because it does not seem to run. In addition, the LabVIEW Run-Time Engine installation does not provide all the required files. Even with these header files, the program will not run because it can’t find the RTE.
So anyone successfully use this example recently? Or have a better way of using LabVIEW drivers in their LabWindows code?
01-01-2014
06:49 PM
- last edited on
02-06-2025
03:32 PM
by
Content Cleaner
To run the example, you need to use the matching version of LabVIEW RTE, in this case the “Version 6.1 LabVIEW Run-Time Engine”. Since it seems links are frequently broken, probably best to search for text quoted above, but the link currently is:
http://www.ni.com/download/labview-run-time-engine-6.1/746/en/
However, even with the correct RTE a number of files are still missing such as extcode.h and all the references it uses. These are supposed to be located with the RTE, but are not. The attached CinTools.Zip file was provided from NI Tech Support.
Got to be a better way of using LabVIEW drivers in LabWindows. Any other suggestions?
01-02-2014
08:35 AM
- last edited on
02-06-2025
03:37 PM
by
Content Cleaner
Hi Mike
Another way to use LabVIEW drivers in CVI could be converting the instrument driver into a C code. NI provides a tool to automatically do this.
Regards
01-02-2014
12:46 PM
- last edited on
02-06-2025
03:37 PM
by
Content Cleaner
Chris,
Thanks. I did see your reference, but was put off by the note:
The LabVIEW Instrument Driver Export Wizard is not supported or compatible with LabVIEW 8.5 or later. If you only have LabVIEW 8.5 or later and would like to convert your driver, please contact the Instrument Driver Group.
Although I don't know the version of LabVIEW used to generate the drivers in my immediate need, the NI tech support folks could not use the *.llb and *.vi files directly to give me a C-languate interface. I'll keep trying. Thanks again!