AGG Software Forums
November 23, 2024, 04:48:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Advanced Serial Data Logger Question  (Read 16245 times)
sshowers
Guest
« on: July 23, 2009, 12:28:13 AM »

I am evaluating the ASDL product to try to capture data being sent to a serial dot-matrix printer (OKI ML390+) from a building access control (card reader) system.  The system currently prints a line of text to the printer every time someone swipes their card to get into the building.  My goal, eventually, is to insert this "line" of text into a SQL table.

I have installed a serial tap between the card reader and the printer from which I am able to capture data.  I'm having an issue, however, with the data coming out of the stream.  What shows up on the printer as:

     0869 JUL 22 09 09:24:51 LASTNAME, FIRSTNAME     ACCESS   DV4   Card Reader

Is being captured off the serial port (in ASDL) as:

     ÿú,jÿðÿú,jÿðÿú,jÿðÿú,jÿð€ÿú,jÿðÿú

Is there something simple I've misconfigured?  I'm sure this is a total "nube" question; but I would apprecate any guidance you can offer anyway...
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: July 23, 2009, 07:35:11 AM »

It seems that you selected a wrong baud rate. Also verify that you've connected TX line of your access control system to RX pin of the computer's serial port.

http://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm
Logged
sshowers
Guest
« Reply #2 on: July 23, 2009, 05:01:37 PM »

Thank you!  You were absolutely correct about it being the wrong baud rate.  Once I verified the printer's setup and set the baud rate correctly I started receiving non-garbled data.

It seems that, once again, the internet (specifically DSL and the fact that I've not touced a modem in more than 12 years) has killed brain cells I used to rely on regularly.  Or maybe it was the bourbon.

Now, on to testing data inserts into SQL Server...

Thanks again!
--Scott
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines