Thorlabs K10CR1 Rotation Stage¶
Driver for controlling Thorlabs Kinesis devices. Currently only directs the K10CR1 rotation stage.
-
class
instrumental.drivers.motion.kinesis.
K10CR1
(serial, gear_box_ratio=120, steps_per_rev=200, micro_steps_per_step=2048, polling_period='200 ms', offset='0 deg')¶ Class for controlling Thorlabs K10CR1 integrated stepper rotation stages
Takes the serial number of the device as a string as well as the gear box ratio, steps per revolution and microsteps per step as integers. It also takes the polling period as a pint quantity.
The polling period, which is how often the device updates its status, is passed as a pint pint quantity with units of time and is optional argument, with a default of 200ms
-
class
K10CR1.
MessageType
¶ -
GenericDCMotor
= 3¶
-
GenericDevice
= 0¶
-
GenericMotor
= 2¶
-
GenericPiezo
= 1¶
-
GenericSimpleMotor
= 4¶
-
Laser
= 6¶
-
NanoTrak
= 9¶
-
Quad
= 8¶
-
RackDevice
= 5¶
-
Solenoid
= 11¶
-
Specialized
= 10¶
-
TECCtlr
= 7¶
-
-
K10CR1.
__init__
(serial, gear_box_ratio=120, steps_per_rev=200, micro_steps_per_step=2048, polling_period='200 ms', offset='0 deg')¶ Parameters: - serial (str) –
- polling_period (pint quantity with units of time) –
-
K10CR1.
close
()¶
-
K10CR1.
get_messages
()¶
-
K10CR1.
get_next_message
()¶
-
K10CR1.
home
(wait=False)¶ Home the stage
Parameters: wait (bool, optional) – Wait until the stage has finished homing to return
-
K10CR1.
homing_finished
()¶ Check if the most recent homing operation has finished
-
K10CR1.
move_finished
()¶ Check if the most recent move has finished
-
K10CR1.
move_to
(angle, wait=False)¶ Rotate the stage to the given angle
Parameters: angle (Quantity) – Angle that the stage will rotate to. Takes the stage offset into account.
-
K10CR1.
wait_for_home
()¶ Wait for the most recent homing operation to complete
-
K10CR1.
wait_for_move
()¶ Wait for the most recent move to complete
-
K10CR1.
is_homing
¶
-
K10CR1.
is_moving
¶
-
K10CR1.
needs_homing
¶ True if the device needs to be homed before a move can be performed
-
K10CR1.
offset
¶
-
K10CR1.
position
¶
-
class