[Top][All Lists]

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

[Octave-bug-tracker] [bug #55212] Unhelpful error message if COM port al

From: anonymous
Subject: [Octave-bug-tracker] [bug #55212] Unhelpful error message if COM port already open (Instrument control package)
Date: Wed, 12 Dec 2018 08:56:12 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36


                 Summary: Unhelpful error message if COM port already open
(Instrument control package)
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 12 Dec 2018 01:56:10 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Arnaud Miege
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: Microsoft Windows



When trying to create serial object in Octave, I got the following error

>> s=serial("\\\\.\\COM15",1200)

error: serial: Error opening the interface: No such file or directory

Nothing I tried would work and I simply couldn't connect to the piece hardware
on the serial port. Until I realised that the port was actually already open
in a PuTTY window. 

It would be great if the error message was a lot more helpful, with something
like "Unable to create serial object, COM port already open." or similar. Not
sure if it's possible to detect whether a port is already open when attempting
to create the serial object.


Reply to this item at:


  Message sent via Savannah

reply via email to

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