Chapter 4 Software Utilities
PA-3222 SERIES USER MANUAL
Page: 4-92
bstatus = PortAccess.GetCashDrawerStatus(0x02); //Before get cash drawer
status, need to initial cash drawer first
VB.NET external function:
Declare Function SetMinSec Lib “WatchDog.dll” (ByVal kind As Short,ByVal
delay_time As Short) As Boolean
Declare Function Stopwatchdog Lib “WatchDog.dll” ( ) As Short
Declare Function Setwatchdog Lib “WatchDog.dll” (ByVal value As Short) As
Boolean
Declare Function Digital_Initial Lib “Digital.dll” ( ) As Long
Declare Function Digtial_Set Lib “Digital.dll”(ByVal hex_value As Short) As
Long
Declare Function Digtial_Get Lib ”Digital.dll” ( ) As Short
Declare Function GPIO_Initial Lib “GPIO.dll” ( ) As Long
Declare Function GPIO_SetPort Lib “GPIO.dll”(ByVal direct As long)
Declare Function GPIO_Set Lib “GPIO.dll”(ByVal dout_value As long) As
Boolean
Declare Function GPIO_Get Lib “GPIO.dll”( ) As Short
Declare Function GetCashDrawerStatus Lib CashDrawer.dll (ByVal
num_drawer as short) As Boolean
Declare Function CashDrawerOpen Lib CashDrawer.dll (ByVal num_drawer as
short) As Boolean
VB 6 external function:
Declare Function CashDrawerOpen Lib "CashDrawer.dll" (ByVal num_drawer
As Integer) As Boolean
Declare Function GetCashDrawerStatus Lib "CashDrawer.dll" (ByVal
num_drawer As Integer) As Boolean
Note:
VB.net short = integer VB6
Summary of Contents for PA-3222
Page 1: ...USER MANUAL PA 3222 10 1 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 3222 M1...
Page 11: ...viii Configuring WatchDog Timer B 10 Flash BIOS Update B 13...
Page 24: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...
Page 26: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 12 2 4 3 Top View...
Page 163: ...Chapter 4 Software Utilities PA 3222 SERIES USER MANUAL Page 4 78...
Page 221: ...Appendix A System Diagrams PA 3222 SERIES USER MANUAL Page A 4...
Page 247: ...Appendix B Technical Summary PA 3222 SERIES USER MANUAL Page B 14...