Compaq 99875320-5 manual Demo Program, Installation, Operation

Page 33

SECTION 5. DEMO PROGRAM

The demo program, which is written in Visual Basic, can be used to do the following:

Read cards from the device and view the card data

Send command requests to the device and view the command responses

Guide application developers in their application development by providing examples, in source code, of how to properly communicate with the device using the standard Windows APIs

The part numbers for the demo program can be found in this document in Section 1 under Accessories.

INSTALLATION

To install the demo program, run the setup.exe file and follow the instructions given on the screen.

OPERATION

To operate the demo program perform the following steps:

Attach the device to a USB port on the host.

If this is the first time the device has been plugged into the host, then follow the instructions on the screen for installing the Windows HID device driver. This is explained in more detail in the installation section of this document.

Run the demo program.

To read cards and view the card data, click on the Read Cards button and swipe a card when prompted to do so.

When finished reading cards, close the dialog box.

To send commands to the device, click on the send commands button.

Enter a command in the Message edit box. All data entered should be in hexadecimal bytes with a space between each byte. Enter the command number followed by the command data if there is any. The application will automatically calculate and send the command data length for you. For example, to send the GET_PROPERTY command for property SOFTWARE_ID enter 00 00.

Press Enter or click on Send message to send the command and receive the result.

The command request and the command result will be displayed in the Communications Dialog edit box.

The Clear Dialog button clears the Communication Dialog edit box.

25

Image 33
Contents October Registered to ISO USB HID IntelliheadPage Rev Number Date RevisionsLimitation on Liability Limited WarrantyFCC Warning Statement FCC Compliance Statement Table of Contents Vii USB IntelliHead 3-Track Features Features and SpecificationsAccessories Hardware ConfigurationsReference Documents USB HID IntelliHead Swipe ReaderFeatures and Specifications SpecificationsUSB HID IntelliHead Swipe Reader Windows Plug and Play Setup InstallationPin Number Signal Cable Color USB ConnectionUSB HID IntelliHead Swipe Reader Card Read OperationUSB HID IntelliHead Swipe Reader HID Usages USB CommunicationsUsage ID Usage Name Hex Type Report DescriptorReport Type ValueTrack 1 Decode Status Card DataUSB Communications Value Hex Offset Usage NameTrack 3 Decode Status Track 2 Decode StatusTrack 1 Data Length Track 2 Data LengthTrack Data Card Encode TypeTrack 1 Data Track 2 DataCommand Number CommandsData Length DataResult Code GET and SET Property CommandsValue Property ID Description Hex Softwareid PropertyProperty Type Description Cmd Num Data Len Prp IDCmd Num Data Len Prp ID Prp Value 31 32 Serialnum PropertyResult Code Data Len Result Code Data Len Prp Value 31 32Pollinginterval Property Cmd Num Data Len Prp ID Prp ValueResult Code Data Len Prp Value Maxpacketsize Property Trackidenable Property Interfacetype Property Decodeenable Property Cmd Num Data Len Resetdevice CommandUSB HID IntelliHead Swipe Reader Installation Demo ProgramOperation Source Code Part Number Title Appendix A. DrawingsUSB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader