help-octave
[Top][All Lists]
Advanced

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

Re: error: serial: Error opening the interface


From: John Donoghue
Subject: Re: error: serial: Error opening the interface
Date: Sun, 8 Sep 2019 08:50:43 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 9/8/19 8:38 AM, address@hidden wrote:
Message: 4
Date: Sun, 8 Sep 2019 02:29:32 +0000
From:<address@hidden>
To:<address@hidden>
Subject: error: serial: Error opening the interface: The system cannot
        find the file specified.
Message-ID:
        <address@hidden>
        
Content-Type: text/plain; charset="utf-8"

Hi,

I have Octave GNU 5.1.0 and I’m having some problem to communicate with a 
serial port.
In the code, I do:

pkg list
pkg load instrument-control
pkg list
which serial
s = serial('COM11', 115200)

On the Command window, I can read a table of packages
൩Package Name         | Version | Installation directory
In particular,
instrument-control *|   0.3.1 | 
...\mingw64\share\octave\packages\instrument-control-0.3.1
'serial' is a function from the file 
C:\Octave\OCTAVE~1.0\mingw64\lib\octave\packages\instrument-cont
rol-0.3.1\x86_64-w64-mingw32-api-v53\serial.oct
but, after s = serial('COM11', 115200),  I have:
error: serial: Error opening the interface: The system cannot find the file 
specified.

Can you please help with that? What am I missing? Thanks a lot for your support

Regards
Odette


Serial ports in windows that are greater than COM9 need the full path name

See [1]


[1] https://wiki.octave.org/Instrument_control_package#Example:_Windows.2C_serial_port_.3ECOM9






reply via email to

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