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.
Input | ||
Name | Type | Description |
---|---|---|
deviceName |
|
The name of the device, as configured in MAX, to which this operation applies. |
Name | Type | Description |
---|---|---|
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. |