Skip to content

Connecting to Attocube ECC 100 by Attocube in Python

Instrument Card

The ECC100 is a state-ofthe-art motion controller, allowing the simultaneous operation of up to three positioners from attocube’s industrial ECS Drive series.

Attocube ECC 100

Device Specification: here

Manufacturer card: ATTOCUBE

ATTOCUBE

Attocube is a leading pioneer for nanotechnology solutions in precision motion and nanopositioning applications, cryogenic microscopy,

  • Headquarters: Germany
  • Yearly Revenue (millions, USD): 14
  • Vendor Website: here

Demo: Send commands to a Polulu stepper motor driver

Connect to the Attocube ECC 100 in Python

PROTOCOLS > SCPI

To connect to an Attocube ECC 100 Motion using Instrumental, you can use the following Python script:

from instrumental import instrument, list_instruments
# List all available instruments
instruments = list_instruments()
print(instruments)
# Connect to the Attocube ECC 100 Motion
ecc100 = instrument(instruments[0])
# Get the current position of the linear stage
position = ecc100.get_position()
print("Current position:", position)
# Move the linear stage to a new position
new_position = 100 # Replace with the desired position
ecc100.move_to(new_position, wait=True)
# Get the new position of the linear stage
position = ecc100.get_position()
print("New position:", position)
# Disconnect from the Attocube ECC 100 Motion
ecc100.close()

Note: Make sure to replace instruments[0] with the appropriate instrument name from the list of available instruments.