fgtest

Purpose:

Monitor “UDPTimestampErr” errors from Gantner driver

Enter:

gantner_err <watchdog_timeout> < max_errors>

Where:

watchdog_timer

the number of seconds after an error is detected before the watchdog is killed (default is 60 seconds)

max_errors

the maximum number of errors per minute. This number of errors will be allowed within a one minute period from the time the first error is received. After one minute, the error count is reset to zero. If the number of errors detected exceeds this value within 1 minute, then the shutdown actions are taken (default is 10 errors)

Example:

gantner_err 60 10 &
The above command will spawn gantner_err in the background and will do the following if 10 “UDPTimestampErr” events are detected in less than 1 minute.

send an email to the ‘quality_email’ address

issue the ‘abort_limit’ event to initiate an engine shutdown

kill the watchdog output after 60 seconds (note that the watchdog can be restarted by typing the command “setev GantErr_reset”)

Notes:

This task is normally started in the go script that starts CyFlex.

See Also:

transt_err