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?