Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: 'bytesize' is not a valid attribute for type SerialInstrument #83

Open
Bodeeen opened this issue Dec 14, 2018 · 1 comment

Comments

@Bodeeen
Copy link

Bodeeen commented Dec 14, 2018

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?

@vascotenner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants