DAQmxControlWatchdogTask
int32 DAQmxControlWatchdogTask (TaskHandle taskHandle, int32 action);
Purpose
Controls the watchdog task according to the action you specify.
Parameters
Input
|
Name |
Type |
Description |
taskHandle
|
TaskHandle |
The task used in this function. |
action
|
int32 |
Specifies how to control the watchdog task.
Value |
|
Description |
DAQmx_Val_ResetTimer
|
|
Resets the internal timer to 0. You must continually reset the internal timer to prevent it from timing out and locking out the device. |
DAQmx_Val_ClearExpiration
|
|
Unlocks a device whose watchdog expired. |
|
Return Value
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. |