Section 1. Overview
5
TYPICAL OPERATION
This section describes a typical pattern that an application developer may use to operate a device.
Although it is the most typical pattern, it is by no means the only viable one. Refer to Section 5,
Example Applications, to see how to use the drivers in various applications.
Open a device
Access to the device is obtained by opening the
com
xx
: port that the device was installed as.
This is not the hardware port that the device may be attached to, but a
virtual
com
xx
:
port
presented by the driver (e.g., COM5 or higher). A handle is returned by the
open
function and is
required for all subsequent interactions with the driver. When opened, the driver initializes itself
and, where required, the device.
Some drivers support automatic settings. In this mode, the driver first attempts to communicate
with the device at the previous setting or at the default setting if it is the first time. (The setting
for the initial attempt is grayed out in the manual settings fields.) If the driver does not receive a
response, it will adjust the settings and try again. This sequence continues until the device
responds or until all possible settings have been attempted.
If the driver is set for the automatic mode, it may take considerably longer for the device driver
to detect an error. In particular, if the device is not connected to the specified port or if its power
is off, the device driver may take several seconds attempting all possible settings before it returns
an error. The application program should be tolerant of this delay.
Query the device’s capabilities
The application now queries the device to determine if it can perform the required task. The
capability properties (
c_xxx
) are provided for this purpose. For example, if an application
requires the ability to read checks, it can
get
the
c_check
property to determine if the device
can read checks.
Prepare the device for work
The device is prepared for operation by setting one or more of the configuration properties. Its
mode of operation and other features are set up by these properties. Setting the
capitalize
property to
1
to cause all data written to or read from a card’s magnetic strip to be capitalized is
an example of this type of initialization. In some cases, modifying a property may cause the
driver to execute functions on the device.
Use the device
The device is now fully initialized ready for operation. Because most tasks with the device
require interaction with the user, the application operates the device using primarily the
interactive commands. A typical scenario is when, in response to some event, the user is
prompted to swipe a card by using the
display
command, followed by a
read
command to
Содержание 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: ......