ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

reset daq-mxNI-DAQmx API

How can I soft reset the daq-mx, I use TestStand 4.1 with measurement studio?

thanks
greg
0 Kudos
Message 1 of 5
(3,752 Views)
Hi greg,

You can rest DAQmx by using: int32 DAQmxResetDevice (const char deviceName[]);DAQmxResetDevice refer to NI-DAQmx C Reference help, it is at the Start menu ... >> National Instruments >> NI-DAQ and look for a topic called 'DAQmxResetDevic' or search for the exact name of the function.

TomBaum




Message Edited by TomBaum on 06-23-2008 10:53 AM
0 Kudos
Message 2 of 5
(3,724 Views)
I dont found this function in help, I have version 8.5 of measurement studio
0 Kudos
Message 3 of 5
(3,671 Views)

My solution :

Device dev = DaqSystem.Local.LoadDevice(DaqSystem.Local.Devices[0]);

dev.Reset();

Device dev = DaqSystem.Local.LoadDevice(DaqSystem.Local.Devices[1]);

dev.Reset();

0 Kudos
Message 4 of 5
(3,665 Views)
Hi greg,

You can also find this file on your disk at C:\Programme\National Instruments\NI-DAQ\docs\cdaqmx.chm or C:\program files\... If you couldn't find it there you haven't installed the complete packages for the driver.
Does any of the suggestion work?

Regards
TomBaum
0 Kudos
Message 5 of 5
(3,636 Views)