MagTek Device Drivers for Windows
40
' The form needs to contain:
'
1) an "MSComm" object named MSComm1
'
2) a button named btnStart, should be set to Enabled
'
and Visible with the caption "Start"
'
3) a button named btnRead, should be set to Disabled
'
and Visible with caption "Read"
'
4) a button named btnExit, should be set to Enabled
'
and Visible with caption "Exit"
'
5) a text box named txtInfo, should be set to Visible, Enabled and
'
MultiLine containing initial text of "Click the Start button to
'
open the port"
‘ Note: Lines shown ending in an underscore are continuation line, i.e.
‘
its one BASIC statement, split over two or more lines.
‘
The underscore MUST be preceded by a space, otherwise BASIC
‘
will interpret it as part if the statement and generate an
‘
error.
' This is the global buffer we'll use to collect the data
Dim RcvdData$
'+---------------+
'| btnExit_Click |
'+---------------+-----------------------------------+
'| Close the com port (if open) and exit the program |
'+---------------------------------------------------+
Private Sub btnExit_Click()
If MSComm1.PortOpen Then
MSComm1.PortOpen = False
End If
Unload Me
End Sub
'+---------------+
'| btnRead_Click |
'+---------------+-------------------+
'| This function does the following: |
'|
1) Disable the read button
|
'|
2) Send the read command
|
'|
3) Wait for the read response
|
'|
4) Display the read data
|
'|
5) Reenable the read button
|
'+-----------------------------------+
Private Sub btnRead_Click()
' Disable the read button so we don't get two read
' commands pending
btnRead.Enabled = False
' Clear the receive buffer
RcvdData$ = ""
' Send the read command
Содержание ET1725L Series
Страница 1: ......
Страница 26: ...3 22 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 37: ...C 33 17 LCD Touchmonitor Dimensions 478 434 429 370 338 270 3 43 219...
Страница 41: ...37 N10051...
Страница 42: ...38 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 52: ...vi Figure 1 1 Port Powered Swipe Reader...
Страница 56: ...Port Powered Swipe Reader 4 Figure 1 3 Dimensions...
Страница 60: ...Port Powered Swipe Reader 8...
Страница 69: ...vi Figure 1 1 USB Swipe Reader...
Страница 73: ...USB Swipe Reader 4...
Страница 77: ...USB Swipe Reader 8...
Страница 79: ...USB Swipe Reader 10...
Страница 99: ...viii Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows...
Страница 127: ...MagTek Device Drivers for Windows 28...
Страница 137: ...MagTek Device Drivers for Windows 38...
Страница 151: ...MagTek Device Drivers for Windows 52...
Страница 173: ...MagTek Device Drivers for Windows 74...
Страница 175: ...MagTek Device Drivers for Windows 76...
Страница 177: ...MagTek Device Drivers for Windows 78...
Страница 192: ......