[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aw: Re: Streaming Serial Octave
From: |
inertialwave |
Subject: |
Re: Aw: Re: Streaming Serial Octave |
Date: |
Fri, 1 Aug 2014 18:22:52 -0700 (PDT) |
Stefan
Finally succeeded in streaming Bluetooth serial device into Octave under
cygwin using Instrument-Control.
Just as you said I simply used "/dev/ttySxx" as the port name in serial().
(Native Octave can't figure it out for this type of wireless port)
However, initial benchmarking against PySerial streaming at 500*15
bytes/second (with 115200 baudrate) shows some gaps in the Octave stream. I
can detect this because one of the bytes is a counter (0-199).
I am not finished with the evaluation yet and I may be able to eliminate the
gaps..
I write to a log file after each read that I may be able to eliminate.
Python has a bytes in waiting function which I use in the serial read
statement; for Octave I am using a fixed 15-byte read. Do you know of any
way to get something like bytes_to_read = serial.inWaiting() with Octave?
(I can try to make a short side-by-side Python/Octave streaming script
comparison if it would be useful.)
Second question: has anyone interfaced Instrument-Control or Octave with the
nidaqmx API ? (analogous to PyDAQmx)That is another data source of interest
to capture into Octave for some real time physical control applications.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Streaming-Serial-Octave-tp4665537p4665882.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: Aw: Re: Streaming Serial Octave, (continued)
- Re: Aw: Re: Streaming Serial Octave, Marco Atzeri, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, Marco Atzeri, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, inertialwave, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, inertialwave, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, Marco Atzeri, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, inertialwave, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, inertialwave, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, Marco Atzeri, 2014/08/01
- Re: Aw: Re: Streaming Serial Octave, inertialwave, 2014/08/01
- Pkg uninstalled all packages, can't reinstall, Allen.Windhorn, 2014/08/01
Re: Aw: Re: Streaming Serial Octave,
inertialwave <=