|
From: | John Donoghue |
Subject: | [Octave-bug-tracker] [bug #59581] [octave forge] (instrument-control) serialport error after second call |
Date: | Tue, 1 Dec 2020 13:30:24 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36 Edg/86.0.622.69 |
Follow-up Comment #2, bug #59581 (project octave): Works for me in win10 - octave 6.1.0 64 bit >> pkg load instrument-control >> serialportlist ans = { [1,1] = COM2 [1,2] = COM6 } >> s1 = serialport('com2') s1 = Serial Port Object Serial-com2 port: com2 baudrate: 115200 parity: None databits: 8 stopbits: 1 timeout: -1 >> s2 = serialport('com2') error: serialport: Error opening the interface: No such file or directory >> clear s1 >> s2 = serialport('com2') s2 = Serial Port Object Serial-com2 port: com2 baudrate: 115200 parity: None databits: 8 stopbits: 1 timeout: -1 >> Can you provide actual code ? In addition ensure you dont have other variables that have the serial port assigned to them _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59581> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |