Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Neousys » Neousys_SetWatchdogTimer

Neousys_SetWatchdogTimer


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets watchdog timer properties on a Neousys computer.

Syntax

void avl::Neousys_SetWatchdogTimer
(
	Neousys_State& ioState,
	int inTicks,
	avl::NeousysWatchdogTimerUnit::Type inUnit
)

Parameters

Name Type Range Default Description
Input will be modified ioState Neousys_State& Object used to maintain state of the function.
Input value inTicks int 1 - 65535 255 Number of ticks to set the watchdog timer to
Input value 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 Aurora Vision 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 Aurora Vision on a 64-bit operating system. Please use 64-bit Aurora Vision in such a case.

Errors

List of possible exceptions:

Error type Description
IoError Could not set watchdog timer.

See Also