Good Day To ya all

I wrote a perl script to read data thru a serial port. when I send data to
the serial port it works, problem is that when I receive data from the
serial port it sometimes contains null's in-between the actual data. This is
causing the variant to stop reading data when it hits the null. I am looking
for some way to bypass this problem.


e.g.
send "10\x00\x01\x00\ABC"
receiving  suppose to be the same, but only the "10" get received.

I am making use of a loop back on the serial port. short pin 2 and 3 out.

If anyone knows what I am doing wrong please help

Ronald

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to