help-octave
[Top][All Lists]
Advanced

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

Re: Aw: Re: Streaming Serial Octave


From: Marco Atzeri
Subject: Re: Aw: Re: Streaming Serial Octave
Date: Fri, 01 Aug 2014 23:07:36 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 01/08/2014 22:19, inertialwave wrote:
Next hoop:
After loading instrument-control under cygwin64/octave3.8.1-1
I confirmed it was loaded but failed to access serial():

octave:11> exist("serial")==3
ans =  1
octave:12> s0 = serial()
error:
/usr/lib/octave/packages/instrument-control-0.2.0/x86_64-unknown-cygwin-api-v49+/serial.oct:

my fault. I forgot to remove an experimental octave version before building the package.
I am uploading a 0.2.0-2 version built with octave-3.8.1-1

failed to load: No such process
octave:12> help serial
error: get_help_text:
/usr/lib/octave/packages/instrument-control-0.2.0/x86_64-unknown-cygwin-api-v49+/serial.oct:
failed to load: No such process
error: called from:
error:   /usr/share/octave/3.8.1/m/help/help.m at line 92, column 18

I followed Marco's binary install process. Why does it install as
...x86-64-unknown-cygwing-api-v49+....?

don't worry that is right.

on the 0.2.0-2 version you should see:

help serial
'serial' is a function from the file /usr/lib/octave/packages/instrument-control-0.2.0/x86_64-unknown-cygwin-api-v49+/serial.oct

 -- Loadable Function: SERIAL = serial ([PATH], [BAUDRATE], [TIMEOUT])

     Open serial interface.

     PATH - the interface path of type String.  If omitted defaults to
     '/dev/ttyUSB0'.
     BAUDRATE - the baudrate of interface.  If omitted defaults to
     115200.
     TIMEOUT - the interface timeout value.  If omitted defaults to
     blocking call.

     The serial() shall return instance of OCTAVE_SERIAL class as the
     result SERIAL.



reply via email to

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