IecTaskDisableWatchdog2 (FUN)ΒΆ
FUNCTION IecTaskDisableWatchdog2 : RTS_IEC_RESULT
Disable watchdog for the specified task
Note
- You have to enable the watchdog of the task with IecTaskEnableWatchdog2 and _not_ with IecTaskEnableWatchdog, because they act on different task flags! 
- The watchdog is disabled until IecTaskEnableWatchdog2 is called!!! So this is a security issue, if you never enable the watchdog! 
- As a consequence, you always have to call IecTaskDisableWatchdog2 and IecTaskEnableWatchdog2 symmetrical 
- Can be called nested. First call disables the watchdog. 
- InOut:
- Scope - Name - Type - Comment - Return - IecTaskDisableWatchdog2- RTS_IEC_RESULT- Returns the runtime system error code (see CmpErrors.library)
- ERR_OK: The watchdog for the task was disabled 
- ERR_PARAMETER: The task handle was invalid 
 
 - Input - hIecTask- RTS_IEC_HANDLE- Handle of the task