You are here: Start » Function Reference » Hardware Support » Neousys » Neousys_SetWatchdogTimer
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets watchdog timer properties on a Neousys computer.
Syntax
void fil::Neousys_SetWatchdogTimer ( Neousys_State& ioState, int inTicks, fil::NeousysWatchdogTimerUnit::Type inUnit )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Neousys_State& | Object used to maintain state of the function. | ||
![]() |
inTicks | int | 1 - 65535 | 255 | Number of ticks to set the watchdog timer to |
![]() |
inUnit | NeousysWatchdogTimerUnit::Type | Second | Unit of the ticks |
Remarks
I/O device driver software
This filter is intended to cooperate with a device using its vendor SDK. To be able to connect to a device, it may be required to install WDT_DIO drivers and SDK.
WDT_DIO can be downloaded from the following website: https://www.neousys-tech.com/en/support-service/download-resources.
Add DLL path to system environment variable may be required.
Recommended WDT_DIO version for FabImage Studio usage is 2.3.1.
Availability
Before you use this filter make sure that your Neousys device has a watchdog unit.
Initialization
When the watchdog unit is initialized it's default countdown value is set to 255 seconds.
Operation
When the program exits watchdog unit is always stopped and its parameters are set to default, so make sure to keep the program running when it encounters an error that should trigger the watchdog unit.
Limits
Depending on the device there might be limits on the inTicks value depending on the inUnit value. Please refer to your Neousys device manual when in doubt.
Compatibility
Neousys Watchdog Timer and Digital I/O support is not provided when using 32-bit FabImage on a 64-bit operating system. Please use 64-bit FabImage in such a case.
Errors
List of possible exceptions:
Error type | Description |
---|---|
IoError | Could not set watchdog timer. |
See Also
- Neousys_StartWatchdogTimer – Starts watchdog timer countdown on a Neousys computer.
- Neousys_ResetWatchdogTimer – Resets watchdog timer countdown on a Neousys computer.
- Neousys_StopWatchdogTimer – Stops watchdog timer countdown on a Neousys computer.