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

Kinesis BBD302 x-stage moving but y-stage is not homing #80

Open
nusratc2 opened this issue Apr 2, 2024 · 0 comments
Open

Kinesis BBD302 x-stage moving but y-stage is not homing #80

nusratc2 opened this issue Apr 2, 2024 · 0 comments

Comments

@nusratc2
Copy link

nusratc2 commented Apr 2, 2024

from pylablib.devices import Thorlabs

Home channel 1

with Thorlabs.KinesisMotor("103387864", is_rack_system=True) as stage:
print("Stage:", stage.get_stage())
stage.set_supported_channels(channels=1) # Focus on channel 1
if not stage.is_homed(1):
print("Homing Channel 1...")
stage.home(sync=True, channel=1)
stage.wait_for_home(channel=1, timeout=120)
print("Channel 1 homed.")

Home channel 2

with Thorlabs.KinesisMotor("103387864", is_rack_system=True) as stage:
stage.set_supported_channels(channels=2) # Focus on channel 2
if not stage.is_homed(2):
print("Homing Channel 2...")
stage.home(sync=True, channel=2)
stage.wait_for_home(channel=2, timeout=120)
print("Channel 2 homed.")

Stage: step
Channel 1 Numeric Status: 2415993088
Channel 1 Verbose Status: ['connected', 'settled', 'interlock', 'power_ok', 'enabled']
Homing Channel 1...
Channel 1 homed.
Channel 2 Numeric Status: 2417041664
Channel 2 Verbose Status: ['connected', 'settled', 'interlock', 'digio1', 'power_ok', 'enabled']
Homing Channel 2...
The channel 2 shows digio1, and it doesn;t move/ home. Can you please help me, as everytime I need to disconnect the device from pc and restart it to use it again. Because it is getting stuck at homing channel 2 everytime. The channel 1 is working fine, I don't know that is wrong with the channel 2

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

1 participant