NI-DAQ™mx C Reference

Content Type
Programming Language
Current manual
Table of Contents

DAQmxControlWatchdogTask

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.
ValueDescription
DAQmx_Val_ResetTimerResets 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_ClearExpirationUnlocks 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.
Was this information helpful?