Chapter 3 Software Utilities
PA-5822 USER MANUAL
Page: 3-22
data= GetCashDrawerStatus(0x01); // Get the Cash Drawer1 status
if (data)
MsgBox(“open1”); // Cash Drawer1 status
“Open”
Else
MsgBox(“close1”); // Cash Drawer1 status
“Close”
Endif
3.3.2
Watch Dog Function
Watchdog_Set
bool Watchdog_Set (int value);
Purpose:
Set the timeout for the watchdog timer.
Value
value = 0 ~ 255
Return:
True (1) on success, False (0) on failure
Watchdog_SetMinSec
bool Watchdog_SetMinSec (int kind);
Purpose:
Set the unit of time as second/minute
Value
kind = 1 (Measured in unit of second)
2 (Measured in unit of minute)
Return:
True (1) on success, False (0) on failure
Watchdog_Stop
bool Watchdog_Stop (void);
Purpose:
Stop the watchdog timer
Value
None
Return:
True (1) on success, False (0) on failure
Watchdog_Recount
bool Watchdog_Recount (void);
Purpose:
Restart the watchdog timer
Value
None
Return:
True (1) on success, False (0) on failure
Содержание PA-5822 M1
Страница 10: ...vii Figure 3 26 Boot Menu Screen 3 52 Figure 3 27 Save Exit Menu Screen 3 54...
Страница 32: ...Chapter 2 Hardware Configuration PA 5822 USER MANUAL Page 2 11 Jumper Diagrams Jumper Settings...
Страница 119: ...Appendix A System Diagrams PA 5822 SERIES USER MANUAL Page A 2 HDD Tray Disassembly...
Страница 120: ...Appendix A System Diagrams PA 5822 SERIES USER MANUAL Page A 3 MSR module Assembly...