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
Hi,
I am new to this. I tried to follow the docs. But getting this error when i run this code : from pylablib.devices import Thorlabs stage = Thorlabs.KinesisMotor("74000948") stage.get_position()
Error: ThorlabsBackendError: backend exception: 'read returned less data than expected' ('read returned less data than expected')
There is a solution mentioned in the docs: "is_rack_system=True". But i am still getting this error. Can someone please help? And give more detailed instructions?
Thanks,
Atharv
The text was updated successfully, but these errors were encountered:
Can you specify which device is that?
Regarding setting the rack system: I know that at least some devices will completely freeze if you try to communicate with them using the wrong is_rack_system parameters. Therefore, I would suggest completely power cycle the device between the attempts, ideally by disconnecting the power supply, since the on/off button on some of the devices such as K-cubes is software-controller and won't do anything when the device is frozen.
Hence, I would do something like power cycling the device, then running this code:
Hi,
I am new to this. I tried to follow the docs. But getting this error when i run this code :
from pylablib.devices import Thorlabs
stage = Thorlabs.KinesisMotor("74000948")
stage.get_position()
Error:
ThorlabsBackendError: backend exception: 'read returned less data than expected' ('read returned less data than expected')
There is a solution mentioned in the docs: "is_rack_system=True". But i am still getting this error. Can someone please help? And give more detailed instructions?
Thanks,
Atharv
The text was updated successfully, but these errors were encountered: