zimmerDN
Electrical
- Jan 17, 2013
- 34
I want to send set an alarm bit when the controller faults on minor or major watchdog error.
I was thinking about using the GSV (Get system value) function to read the controller Fault Log. Should this logic be placed in it's own separate task and set as a periodic task type.
If the main continuous task is stuck in a loop or causes a watchdog fault for other reasons, will the periodic watchdog task interrupt the lower priority continuous task to set the alarm flag?
I was thinking about using the GSV (Get system value) function to read the controller Fault Log. Should this logic be placed in it's own separate task and set as a periodic task type.
If the main continuous task is stuck in a loop or causes a watchdog fault for other reasons, will the periodic watchdog task interrupt the lower priority continuous task to set the alarm flag?