Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_WatchdogTime (HIDS hf, long lTime)

Description

is_WatchdogTime() sets the time of the watchdog. The retrigger cycle should be 1/2 to1/4 of the lTime (i.e. retrigger time 1 min and an execution time of 4 min).

The execution time can be set in 2 execution levels:

Seconds: range: [1 to15555]

Minutes: range: [1 to 259]

Parameters

hf

Frame grabber handle

lTime

 

Sekunden: [1...15555]

Execution time in seconds. The value must be an OR operation with IS_WATCHDOG_SECONDS

Minuten: [1...259]

Execution time in minutes

IS_GET_WATCHDOG_TIME

Returns the current execution time

IS_GET_WATCHDOG_RESOLUTION

Returns the current time resolution

Return value

Current setting when called with IS_GET_WATCHDOG_TIME or IS_GET_WATCHDOG_RESOLUTION, else IS_SUCCESS or IS_NO_SUCCESS

Beispiel

// Activate the watchdog with 160 seconds execution time:

is_WatchdogTime(hf, 160 | IS_WATCHDOG_SECONDS);

is_Watchdog(hf, IS_ENABLE_WATCHDOG);