Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you use lvdaq.dll in labwindows?

I am trying to configure my pci-6036E board in LabWindows. I have software written in LabView that works fine and it uses the library that calls lvdaq.dll. Located in \National..\Labview\vi.lib\Daq.

Everything works fine in LabView, I am having a tough time getting things to work in LabWindows. The set_signal command seems to have worked momentarily and I had things partially working, all that was left was configuring the clock input and setting up the triggering of the adc's and dac's to sync together. I have not been able to get the triggering working correctly. Things would be a lot simpler if I could use the lvDaq.dll that is called by Labview to do what I want. To do anything with a DLL it looks like you need the hea
der file or .LIB file. Is it possbile that the routines for Labview like AO Clock Configure exist for LabWindows? Or is there a place I can download the header file to generate a import library for that dll? What about the import library itself?

Thanks
Dan
0 Kudos
Message 1 of 2
(2,586 Views)
Dan,

The lvdaq.dll was built to work with the DAQ VIs within LabVIEW. From LabWindows/CVI you will be interfacing with the nidaq32.dll. The header file, nidaq32ex.h, is the header file that the example programs use to interface with NI-DAQ.

There are several example programs that show how to interface with a DAQ device through LabWindows. If you installed NI-DAQ with support for LabWindows/CVI, then examples will be installed in the ...\Program Files\National Instruments\MeasurementStudio\CVI\samples\daq directory. All of the header files needed to interface with NI-DAQ are within the ...\Program Files\National Instruments\NI-DAQ\Include directory. I hope this helps.

Regards,

Todd D.
0 Kudos
Message 2 of 2
(2,586 Views)