Connecting to KIM101 by Thorlabs in Python
Instrument Card
This four-channel controller features four SMC outputs to drive piezo inertia devices. The channels can be controlled independently or simultaneously in pairs using the dual-axis joystick on the controller’s top panel. The controller can be configured to operate up to four PD series piezo inertia stages, up to four PIA series piezo inertia actuators, or up to two PIM series piezo inertia optic mounts; one KIM101 can only concurrently drive devices that use the same “Select Stage” configuration in the controller’s menu options
Device Specification: here
Manufacturer card: THORLABS
Thorlabs, Inc. is an American privately held optical equipment company headquartered in Newton, New Jersey. The company was founded in 1989 by Alex Cable, who serves as its current president and CEO. As of 2018, Thorlabs has annual sales of approximately $500 million.
- Headquarters: USA
- Yearly Revenue (millions, USD): 550
- Vendor Website: here
Demo: Send commands to a Polulu stepper motor driver
Connect to the KIM101 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a KIM101 Positional Controller using Instrumentkit, you can use the following code:
This code connects to the KIM101 controller using the open_serial
method from the ik.thorlabs.APTPiezoInertiaActuator
class. It then enables the first channel, sets the drive parameters, and moves the channel to a specific position using the enabled_single
, drive_op_parameters
, and move_abs
properties and methods, respectively.