Use attributes to detect if program execution halts
- Last UpdatedJul 19, 2024
- 1 minute read
You can detect a restart/failover event by looking at the values of the attributes ExecutionHalted.Condition and ExecutionHaltedDesc.
To detect that execution has halted:
-
View the value of the ExecutionHalted.Condition attribute
-
View the value of the ExecutionHaltedDesc - when ExecutionHalted.Condition is true, this attribute provides the following description: Sequencer Program:<Program Name> was halted due to <reason>, where the reason can be either offscan, shutdown or failover.
Note: For more information on the attributes ExecutionHalted.Condition and ExecutionHaltedDesc, see Sequencer object help.