Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

I built a DAQ vi in the labview6.1 and i compiled it to a dll.And then I wanted to call it and expected it pass acquired data to visual c++

I built a DAQ vi in the labview6.1 to acquire four channels'data(use pci_6110E) .And i compiled it to a dll.I wanted to use visual c++ to call it and expected it pass acquired data to visual c++.
0 Kudos
Message 1 of 2
(2,883 Views)
Hello

If you are using Visual C++, then I would recommend using the NI-DAQ function calls instead of having labview layer in there. YOu can pretty much accomplish any task using the NI-DAQ function calls that you can by using the LabVIEW DAQ vi's. Plus this way you wont have to worry about passing the correct data type from LabVIEW into C++. You can find the examples for using these function calls under ../NI-DAQ/Examples/.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,883 Views)