You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When more than one serial device is present on a host, and some serial ports have been connected to, in inst.CelestronFocuser.connect(), fopen() causes a warning like RXTX fhs_lock() Error: opening lock file: /var/lock/LCK..ttyACM0: File exists to be written on stderr, for every OTHER serial port of the system which is already in use, i.e. not for the specific port which we are opening. Possibly this it is a bug of the deprecated serial object, which might be resolved by the newly recommended serialport. I'm a little wary of transitioning the code (there is not much to do, but no fopen(), delete() instead of fclose(), read()/write() instead of fprintf()/freadf()), because serialport has been introduced only in v2019b and I'm not sure whether to force the dependency on a most recent version of Matlab only. Anyway, as for a bug this looks at the moment innocuous.
The text was updated successfully, but these errors were encountered:
When more than one serial device is present on a host, and some serial ports have been connected to, in
inst.CelestronFocuser.connect()
,fopen()
causes a warning likeRXTX fhs_lock() Error: opening lock file: /var/lock/LCK..ttyACM0: File exists
to be written on stderr, for every OTHER serial port of the system which is already in use, i.e. not for the specific port which we are opening. Possibly this it is a bug of the deprecatedserial
object, which might be resolved by the newly recommendedserialport
. I'm a little wary of transitioning the code (there is not much to do, but nofopen()
,delete()
instead offclose()
,read()
/write()
instead offprintf()
/freadf()
), becauseserialport
has been introduced only in v2019b and I'm not sure whether to force the dependency on a most recent version of Matlab only. Anyway, as for a bug this looks at the moment innocuous.The text was updated successfully, but these errors were encountered: