Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading serial number on a Card Reader
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Reading serial number on a Card Reader
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01369351
Message ID:
01369351
Views:
60
Hi all,

I am trying to read the serial number from a card reader. I have the MSComm control installed on a form. I am able to read driver's license info from the reader. I am trying to read the device serial number. According to the programming specification, I should be able to do this, but I get nothing back when I send the command. I can tell that I am communicating with the device, because the indicator lights up when I send the command. The programming specification is located at http://www.e-seek.com/pdf/Serial_Programming.pdf.

Here is the code I am sending to the device.
Any help will be greatly appreciated.
lcString=['SOH'<SERIAL:>'EOT']
ThisForm.Olecontrol1.output=lcString
lcx=ThisForm.Olecontrol1.input 
?lcx
James Harvey, MCP
Memphis Police Department
225 Channel Three DR
Memphis, TN 38103
901 577-1296
Next
Reply
Map
View

Click here to load this message in the networking platform