Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Reading data from the Serial Port

by Anonymous Monk
on Aug 01, 2002 at 00:43 UTC ( [id://186649] : note . print w/replies, xml ) Need Help??

in reply to Re: Reading data from the Serial Port
in thread Reading data from the Serial Port

The device (Waveware paging data receiver) doesnt have flow control. I connect to the receiver at 9600 8 N 1. I am using the perl program that i posted to read the serial port, i have checked what i am receiving with hyperterm. Also, i am the one generating the pages (POCSAG format being sent at 512bps) from a paging client so i can be sure of what should appear on the serial port. Thanks, Jason

Replies are listed 'Best First'.
Re: Re: Reading data from the Serial Port
by talexb (Chancellor) on Aug 01, 2002 at 03:19 UTC
    When I did data communications programming as my job, my favourite tool was the HP 4951A protocol analyzer -- it would tell you anything about everything that was going on over a serial communications channel.

    You probably don't have one of those .. you might be able to get a break-out box which at least would tell you if there is some flow control stuff going on. Alternatively, look for breakout box software on Google -- I'd pass you some links but either Google is slow or my connection is tired right now. Highly recommended.

    Based on what little information is available, I expect it's going to be some type of flow control problem -- is there any way you can set up the serial port or the software talking to the port to enable, disable or automate the flow control?

    --t. alex

    "Mud, mud, glorious mud. Nothing quite like it for cooling the blood!"
    --Michael Flanders and Donald Swann