Connecting to Smaract-MCS2 by Smaract in Python
Instrument Card
The MCS2 is SmarAct’s most versatile and modular control system.
Its stringent modular design approach makes it the perfect choice for all field of applications
Device Specification: here
Manufacturer card: SMARACT
In our Motion business unit, we develop and produce high-precision, compact products for nano-positioning that meet the highest demands while being easy to handle
- Headquarters: USA
- Yearly Revenue (millions, USD): 15
- Vendor Website: here
Demo: Send commands to a Polulu stepper motor driver
Connect to the Smaract-MCS2 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Smaract-MCS2 Motion using Instrumental, you can use the following Python script:
This script imports the instrument
function from the instrumental
module and uses it to connect to the first instrument in the list returned by the list_instruments
function. It then performs some operations on the connected device, such as moving the device to its home position and checking its current position. Finally, it closes the connection to the device using the close
method.