help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arduino to octave


From: Andreas Weber
Subject: Re: Arduino to octave
Date: Fri, 14 Oct 2016 18:59:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

Hi Giorgio,

Am 14.10.2016 um 18:23 schrieb Giorgio De Nunzio:
> Just one note: I realized that the buffer is not emptied when read
> (arduino sends, octave reads: if I stop octave script and start it
> again, data are reread).

Are they reread (you get the same values doubled or are you reading
bytes which are in the FIFO buffer?

> Is this normal? Is it possible to forcefully empty the buffer (from the
> pc side) so that only new readings are read from that point on?

Yes, you can "flush" the input or output buffers or both. See "srl_flush"

-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]