MagTek Device Drivers for Windows
50
POWER BUILDER EXAMPLE
The following example illustrates how to set up PowerBuilder (from Sybase) to read magnetic data from
the IntelliPIN device. Since PowerBuilder does not interface to a serial port very easily, a third-party OCX
is required. The first part of this application note shows how to load an ActiveX component. The main
program script shows how to interface with the OCX, the MTD Windows Driver, and the MagTek device
(in this case the IntelliPIN).
The following communication ActiveX components are available for use with PowerBuilder:
Product Company Web
Site
Phone
IO ActiveX Control Software Island
members.aol.com/easyio
N/A
Comm Library
EllTech
elltech.com
800-227-8047
COMM-DRV/LIB WCSC
www.wcscnet.com
800-966-4832
In our example, we have chosen “IO ActiveX Control” from Software Island. Here is a method that can be
used to install this component:
1. In a PowerBuilder application, open a new window.
2. From the “Controls” dropdown menu, select “OLE”.
3. From the “Create New” tab, select the intended OCX, for example, “IO Control”. (It is assumed that
the OCX has already been registered by installing it according to the manufacturer’s directions.) Then
click “OK”.
4. Left click anywhere on the open window and drop the component onto it.
5. Right click on the newly installed component and select “Properties”. Enter “mtd” into the “Name”
text field. Enter “MTD OCX” into the “Display Name” and “Tag” text fields. Click “OK”.
6. Right click anywhere on the window outside the new component then select “Properties”. Enter
“ole_io” into the “Title:” text field. Deselect the “Visible” check-off box so the window will not be
shown then click “OK”.
7. Right click anywhere on the window outside the new component then select the “Script” option. Insert
the following script into the “ole_io” window.
//////////////////////////////////////////////////////////
//
Window Script to load OCX for Mag-Tek Driver.
//
//
This is the script for the invisible window that
//
//
contains the OLE object.
//
//////////////////////////////////////////////////////////
integer result
result = mtd.object.Open("COM5:", "")
// COM5 is the virtual port name which was automatically
// assigned to IntelliPIN RS-232 Driver upon installation.
// It may be different for your installation.
if result < 1 then
MessageBox("Open Read",result)
return 0
END if
Содержание 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: ......