
Appendix B
65
SetWDT
@ Description
Sets the timeout value of watchdog timer. The timeout value
should be given in seconds. Users should call ResetWDT or
StopWDT before the expiration of the watchdog timer, or the
system will be reset.
@ Supported controllers
PXI-3950, PXI-3920, PXI-3910
@ Syntax
C/C++
BOOL SetWDT(unsigned long second)
Visual Basic
InitWDT(ByVal second as Long) As Boolean
@ Parameters
second
Specifies the timeout value of the watchdog timer.
@ Return Codes
TRUE if timeout value of watchdog timer is
successfully set.
FALSE if timeout value of watchdog timer is
failed to set.
Value
Description
0 to 255
If the value of
second
parameter is between
0 to 255, the resolution of watchdog timer is
1 second.
> 255
If the value of
second
parameter is larger
than 255, the resolution of watchdog timer
is 1 minute. That is, if users give a value of
400, the actual timeout value is 400/60 + 1
= 7 minutes.
Summary of Contents for PXI -3950
Page 1: ...PXI 3950 ...
Page 11: ...x Table of Contents PXI 3950 User s Manual This page intentionally left blank ...
Page 13: ...PXI 3950 User s Manual xii List of Figures This page intentionally left blank ...
Page 15: ...xiv List of Tables PXI 3950 User s Manual This page intentionally left blank ...
Page 23: ...8 Introduction PXI 3950 User s Manual This page intentionally left blank ...
Page 61: ...46 Getting Started PXI 3950 User s Manual This page intentionally left blank ...
Page 69: ...54 Driver Installation PXI 3950 User s Manual This page intentionally left blank ...
Page 77: ...62 Appendix A PXI 3950 User s Manual This page intentionally left blank ...