imaqIOWatchdogConfigure Method

NI-IMAQ I/O Visual Basic

imaqIOWatchdogConfigure Method

Syntax

imaqIOWatchdogConfigure id, timeout, expirationAction

Purpose

Configures a watchdog timer on the NI-IMAQ I/O device.

Parameters

id As IMAQIO_SESSION

The ID of the session to configure the watchdog on.

timeout As Long

The time, in milliseconds, that can occur without a reset before the watchdog occurs.

expirationAction As IMAQIOExpirationAction

The action to take when the watchdog occurs.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorTextVB.

 


See Also

imaqIOWatchdogArm

imaqIOWatchdogClear

imaqIOWatchdogWhack