If you look at the script in the "Open Serial Port" button in my stack, you will see the following line:
open file thePort for text update
Try changing this to:
open file thePort for binary update
I haven't tried reading any data with nulls but this would be my best guess on how to fix the problem.
Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/
On Sunday, August 3, 2003, at 09:14 pm, [EMAIL PROTECTED] wrote:
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.
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution