Open Bodeeen opened 5 years ago
Which backend are using: ni
or pi
?
By the way, I have noticed that you are using Windows. If you are using anaconda Python distribution, would you try the conda package that I have created. It contains:
Just do the following:
conda create -n test_lantz python=3.6
conda activate test_lantz
conda install -c hgrecco lantzfull
And then try the examples
lantz sims fungen tcp
en otra terminal:
lantz qtdemo testpanel
If you do not have ni visa installed, do:
lantz config core.visa_backend @py
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?