-
Notifications
You must be signed in to change notification settings - Fork 10
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
adding basic functionality for KDC101 KCube. #162
base: main
Are you sure you want to change the base?
Conversation
…nd modifying their properties
…into thorlabs_stage
|
||
@property | ||
@abstractmethod | ||
def travel_range(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RENAME TO LIMITS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can those global declarations get into some smaller contexts @edyoshikun ?
@AhmetCanSolak I think the next step is actually making a single file clr.AddRefererence(THorlabsDevice.dll) #common to all thorlabs kcube devices
class KIM101():
clr.AddReference(InertiaMotor.dll) #unique to this device. |
yes, and I loved the proposed solution. Thank you @edyoshikun ! |
I think it will be helpful to have a |
I find that the KIM101 stage works well initially, but errors out after several moves. With the stage on the mantis LS remote refocus arm this sequence of steps will error out: for i in range(50):
stage.move_relative(10)
stage.move_relative(-10) Reinitializing the stage allows it to move without error again. It seems like the error happens a set number of moves after init - it's possible that something gets backed up and we need to clear it. For now I'm switching to using |
|
This PR adds the throlabs stages that use the KDC101 DC motors as well as controls for the KIM001 KCube for intertia piezo motors.