|Download Help (Windows Only)|
int32 DAQmxResetDevice (const char deviceName);
Immediately aborts all tasks associated with a device and returns the device to an initialized state. Aborting a task stops and releases any resources the task reserved.
This function does not wait for the device to reset before continuing execution. When resetting a chassis, attached modules are unavailable. If you attempt to reset an attached module during this time, you will receive an error.
||Specifies the name to assign to the device. If unspecified, NI-DAQmx chooses the device name.|
|status||int32||The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.|