Connecting to KIM001 by Thorlabs in Python
Instrument Card
This single-channel piezo inertia controller provides a voltage output for a single piezo inertia stage or actuator. The top panel features a spring-loaded scroll wheel for driving the stage or actuator as well as selecting 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 KIM001 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a KIM001 Positional Controller using Instrumentkit, you can use the following code:
This code connects to the KIM001 controller using the open_serial
method from the APTPiezoInertiaActuator
class. It then gets the first channel of the controller and enables it using the enabled_single
property. Finally, it moves the channel to a specific position using the move_abs
method.