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
I'm running with python 3.8 some Thorlabs motors. It's working fine so far. Thanks a lot for the amazing code!
Unfortunately, the following warning always appears when initializing the motor:
FutureWarning: The visa module provided by PyVISA is being deprecated. You can replace import visa by import pyvisa as visa to achieve the same effect.
I figured out that in the file pylablib/aux_libs/core/devio/backend.py is still using the visa package instead of the pyvisa one. Changing the visa to pyvisa fix the issue. I would be happy about this adjustment in the next version.
Thanks a lot
Best,
Philipp
The text was updated successfully, but these errors were encountered:
I'm glad that the library works fine for you!
Thank you for pointing out the issue. You are correct, backend.py still uses import visa for pyvisa package. It will be fixed it in the next release of the library.
Hello,
I'm running with python 3.8 some Thorlabs motors. It's working fine so far. Thanks a lot for the amazing code!
Unfortunately, the following warning always appears when initializing the motor:
FutureWarning: The visa module provided by PyVISA is being deprecated. You can replace
import visa
byimport pyvisa as visa
to achieve the same effect.I figured out that in the file pylablib/aux_libs/core/devio/backend.py is still using the visa package instead of the pyvisa one. Changing the visa to pyvisa fix the issue. I would be happy about this adjustment in the next version.
Thanks a lot
Best,
Philipp
The text was updated successfully, but these errors were encountered: