Section 1. Overview
7
Settings tab. This gives both the Friendly Name and the port name (
COM<5-15>
). It also
identifies the physical port that will be used to communicate with the device.
Open the device using either of the previous names. Use whatever facility is provided by your
development environment for opening files. For Visual Basic, do the following:
'set error handling
On Error Resume Next
‘open the port for binary access
Open “\\.\micr+” For Binary Access Read Write As #1
If Err.Number <> 0 Then
<<process error>>
End If
on error goto 0
Note
The friendly name of the device, as found in the operating system’s
device UI (Device Manager in Windows 95, for example), must be
prefixed with “
\\.\
” in order to open the device. If the previous
example did not have the prefix, it would create a file named
micr+
in the current directory–clearly not the desired result.
Interacting with the device
An application interacts with the device by sending commands to the device and reading its
responses. Commands are sent by writing to the opened port and responses from the device or
property requests are retrieved by reading from the port.
To interact with the device using the MSComm component, invoke a command by assigning it to
MSComm’s
Output
property. The response is received by MSComm’s
OnComm
event handler
as a
comEvReceive
event or by directly polling the port. The entire response to a command or
property request is received as a single event.
'submit echo command
Comm.Output = "/echo Hello" + Chr$(10)
Private Sub Comm_OnComm()
‘return if not a receive event
If Comm.CommEvent = comEvReceive Then
‘process received data
a$ = Comm.Input
‘get echo data
Else
<<process non-read event>>
End If
End Sub
If using file I/O access, interaction with the device is indistinguishable from writing to or reading
from a file.
Содержание Entuitive 1229L
Страница 1: ......
Страница 11: ...1 6 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...
Страница 13: ...2 8 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 Product Overview Main Unit Rear View...
Страница 14: ...2 9 Side View Base Bottom View...
Страница 22: ...2 17 Connect one end of the MSR cable to the computer and the other end to the monitor MSR cable...
Страница 43: ...4 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...
Страница 54: ...C 49...
Страница 55: ...C 50 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...
Страница 59: ...54 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...
Страница 70: ...vii...
Страница 71: ...Figure 1 1 USB Swipe Reader viii...
Страница 75: ...USB HID Keyboard Emulation Swipe Reader 4...
Страница 79: ...USB HID Keyboard Emulation Swipe Reader 8...
Страница 81: ...USB HID Keyboard Emulation Swipe Reader 10...
Страница 103: ...vi Figure 1 1 Port Powered Swipe Reader...
Страница 107: ...Port Powered Swipe Reader 4 Figure 1 3 Dimensions...
Страница 111: ...Port Powered Swipe Reader 8...
Страница 115: ...Port Powered Swipe Reader 12...
Страница 123: ...viii Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows...
Страница 151: ...MagTek Device Drivers for Windows 28...
Страница 161: ...MagTek Device Drivers for Windows 38...
Страница 175: ...MagTek Device Drivers for Windows 52...
Страница 197: ...MagTek Device Drivers for Windows 74...
Страница 199: ...MagTek Device Drivers for Windows 76...
Страница 201: ...MagTek Device Drivers for Windows 78...
Страница 220: ...i Customer Displays 2 by 20 character display USER MANUAL Models LD9000 Series...
Страница 249: ......