Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke NIDAQ Traditional Device Reset from C

Hi Forum

 

I have a legacy issue with NIDAQ Traditional and I hope someone inhere can help me out, since NIDAQ Traditional is no longer supported.

 

I would like to reset my device (PCI-6601). I am interfacing to NIDAQ Traditional from C# by invoking C functions (in nidaq32.dll).

 

It turns out that there is no device reset function in the c library (nidaq32.dll). But from labview the device can be reset through a call to lvdaq.dll (using "Device Reset.vi"). Unfortunately we are not allowed to invoke this library from outside LabVIEW (when doing so a dialog pops up with the message "LABVIEW.LIB was not called from a LabVIEW process").

 

Does anyone know how we can reset the device from c. Hopefully from using the nidaq32.dll, but any suggestion is greatly appreaciated.

 

I can build an exe from labview that call "Device Reset.vi", and then call this file from my application. It works, but it is hardly a usable or clever solution to install labview runtime on all systems.

 

Thanks for reading

 

Simon

 

 

 

0 Kudos
Message 1 of 1
(2,242 Views)