StopWatchdog
Stops a watchdog and provide runtime information.
Syntax
Definition:
HRESULT StopWatchdog(
HRESULT hrStartWatchdog,
ULONGLONG& nFunctionsMonitored,
ULONG& nFractionProcessed,
LONG& tRest
)
Parameters
Name |
Type |
Description |
---|---|---|
hrStartWatchdog |
HRESULT indicating the result of the function used to start the watchdog (If SUCCEEDED(hrStartWatchdog) equals false, no operation is executed.) | |
nFunctionsMonitored |
ULONGLONG& |
Returns the number of functions monitored |
nFractionProcessed |
ULONG& |
Returns the fraction processed accumulated over the monitored functions in percent |
tRest |
LONG& |
Returns the remaining computation time in us (may be negative) |
Required License
TC3 Vision Base
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |