From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-31-2013 06:01 PM
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
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
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.
This article explains how to convert a LabVIEW instrument driver into a CVI instrument driver.
Regards
01-02-2014 12:46 PM
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!