Re: USB2 to RS232
- From: "Samuel Trundle" <No@xxxxxx>
- Date: Mon, 31 Mar 2008 21:07:01 +0000 (UTC)
Well then maybe I am farther than I think but I always
timeout in async mode. I am using the fscanf() and I have
set the terminator. I know that the device does not require
a command before sending. I should just be able to listen
and grab what I want. Any ideas?
.
Relevant Pages
- Re: Accessing Bytsavailable in Inputbuffer
... there is no flag to pass to fscanf to indicate ... would be interpreted as a format specifier. ... a line terminator was reached or a character that did not match 's' ... the cell string array, whereas reading with the default '%c' ... (comp.soft-sys.matlab) - Re: unable to read data
... It is always giving a warning of "TIMEOUT BEFORE THE TERMINATOR WAS ... What happens if you remove %g from your fscanf command? ... specified by the serial object and check if I get the same error. ... A timeout occurs as specified by the Timeout property. ... (comp.soft-sys.matlab) - Re: Accessing Bytsavailable in Inputbuffer
... I read 4 bytes from the serial port and it seems to ... I always get a timeout that the the terminator wasnt reached. ... the value DataRead = '' due to the problems ... (comp.soft-sys.matlab) - Re: how to implement timeout on vista
... I try terminator on my PC with Vista. ... irb:003:1* sleep 4 rescue puts 'timeout' ... (comp.lang.ruby) - reading data through COM PORT
... I used the following configuration: ... set(s, 'Terminator', 'LF'); ... set(s, 'ReadAsyncMode', 'Continuous'); ... set(s, 'Timeout', 20); ... (comp.soft-sys.matlab) |
|