Re: Help-octave Digest, Vol 162, Issue 10

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Help-octave Digest, Vol 162, Issue 10

John Donoghue-3
On 9/8/19 8:38 AM, [hidden email] wrote:

> Message: 4
> Date: Sun, 8 Sep 2019 02:29:32 +0000
> From:<[hidden email]>
> To:<[hidden email]>
> Subject: error: serial: Error opening the interface: The system cannot
> find the file specified.
> Message-ID:
> <[hidden email]>
>
> 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