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
{{ message }}
Repository navigation
ValueError: 'bytesize' is not a valid attribute for type SerialInstrument #83
Hi,
I'm using the lantz Cobolt0601 driver to control a laser. When using the legacy driver everything works fine. But when changing to the new driver using MessageBasedDriver instead of SerialDriver i get the above error when initializing the laser. If, however, I comment line 23 in Cobolt0601.py where the "bytesize = 8" is everything works fine again.
from lantz.drivers.cobolt.cobolt0601 import Cobolt0601
laser = Cobolt0601('COM10')
laser.initialize() #This line gives error
Is this some compatibility issue or a bug in the code?
Activity
vascotenner commentedon Jan 15, 2019
Thank you for reporting this issue. Currently, the lantz project moving to a new structure. Please report again in: https://github.com/lantzproject/lantz-drivers