Appendix b - watchdog timer, B.1 wdt function library, B.1.1 initwdt – ADLINK PXIe-3975 User Manual

Page 65: B appendix: watchdog timer, Wdt function library, B.1.1, Initwdt

Advertising
background image

Watchdog Timer

53

PXIe-3975

Appendix B - Watchdog Timer

This appendix describes use of the watchdog timer (WDT) func-
tion library for the PXIe-3975 controller. The watchdog timer is a
hardware mechanism resetting the system when the operating
system or application halts. After starting, periodic reset of the
watchdog timer in the application before expiry is required. Once
the watchdog timer expires, a hardware-generated signal is sent
to reset the system.

B.1 WDT Function Library

B.1.1

InitWDT

Description

Initializes watchdog timer function. InitWDT must be called
before the invocation of any other WDT function.

Supported Controllers

PXIe-3975, PXI-3950, PXI-3920, PXI-3910

Syntax

C/C++

BOOL InitWDT()

Visual Basic

InitWDT() As Boolean

Parameter

None

Return Code

True

If watchdog timer is successfully initialized

False

If watchdog timer fails to initialize

Advertising