help-octave
[Top][All Lists]
Advanced

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

Re: "real" time inputs?


From: Lisa Thierbach
Subject: Re: "real" time inputs?
Date: Thu, 21 Jul 2011 10:09:43 -0400

Thanks so much for your help. My Arduino board is now happily sending data into 
Octave.

Lisa

On Jul 18, 2011, at 4:33 PM, Jordi GutiƩrrez Hermoso <address@hidden> wrote:

> On 18 July 2011 12:44, Lisa Thierbach <address@hidden>
> wrote:
>> I'd like to read in data from the serial port (USB actually) on my
>> Mac. It is possible I could go through some other code that reads
>> the data and then passes it to Octave. But how do I pass data into
>> Octave from another source in real time?
> 
> Depending exactly on how you read your data, one possibility is to use
> pipes:
> 
>     
> http://www.gnu.org/software/octave/doc/interpreter/Controlling-Subprocesses.html#doc_002dpopen
> 
> You can also use the sockets package, which can work with local
> sockets, not necessarily over a network:
> 
>     http://octave.sourceforge.net/sockets/index.html
> 
> Both of these mimic closely their standard Unix counterparts. You
> should consult documentation for pipes or sockets to understand more
> about how to use these.
> 
> HTH,
> - Jordi G. H.


reply via email to

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