Serial Import, no Nulls?
mail at richard-hillen.de
mail at richard-hillen.de
Sun Aug 3 02:18:01 EDT 2003
Hello list,
I try to get data from a measurement-device (Windows 98, RunRev 2.0.2.)
using the serial port Com1.
If I send "S" over the serial port, the device respond sending 20 byte in
the Range 0 .. 255.
Using Sarahs helpfull example-stack I tried to get them with "read from
file com1 for 20".
Looking at "it" there were less than 20 chars, the bytes with value 0 were
missing.
Any Ideas, how to get _all_ 20 bytes?
Thanx in advance
Richard Hillen.
More information about the use-livecode
mailing list