Discussion:
reset daq-mxNI-DAQmx API
(too old to reply)
costello
2008-06-19 13:40:12 UTC
Permalink
How can I soft reset the daq-mx, I use TestStand 4.1 with measurement studio? thanksgreg
TomBaum
2008-06-23 16:10:11 UTC
Permalink
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
costello
2008-07-08 10:10:10 UTC
Permalink
I dont found this function in help, I have version 8.5 of measurement studio
costello
2008-07-08 11:40:07 UTC
Permalink
My solution :
Device dev = DaqSystem.Local.LoadDevice(DaqSystem.Local.Devices[0]);
dev.Reset();
Device dev = DaqSystem.Local.LoadDevice(DaqSystem.Local.Devices[1]);
dev.Reset();
TomBaum
2008-07-10 07:40:11 UTC
Permalink
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?RegardsTomBaum
Loading...