|
From: | Jens Bongartz |
Subject: | [Octave-bug-tracker] [bug #59581] [octave forge] (instrument-control) serialport error after second call |
Date: | Tue, 1 Dec 2020 18:23:25 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36 Edg/87.0.664.47 |
Follow-up Comment #5, bug #59581 (project octave): Hi John, I am quite new to the instrument-control package and I didn't realize from the online reference to get the property from the object this elegant way. Thank you for this hint. If you don't mind one more question: In 6.1.0 I get in my script the error "serialport: Error opening the interface: Illegal byte sequence" after reopening the serial port, when I use fread(). It works fine by using read(). What is the best way to read the serial port? And what is the difference between read() and fread()? In 5.2.0 both versions work. Many thanks Jens I _______________________________________________________ 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] |