Skip to content

Connecting to ANC 350 PIEZO Controller by Attocube in Python

Instrument Card

multi-functional piezo controller for closed loop positioners

ANC 350 PIEZO Controller

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 ANC 350 PIEZO Controller in Python

PROTOCOLS > SCPI

Here is an example Python script that uses Qcodes Community to connect to an ANC350 PIEZO Controller Positional Controller:

import qcodes as qc
from qcodes.instrument_drivers.attocube.ANC350 import ANC350, ANC350v3Lib
# Create an instance of the ANC350v3Lib library
lib = ANC350v3Lib()
# Create an instance of the ANC350 instrument
anc350 = ANC350("anc350", lib)
# Connect to the ANC350 device
anc350.connect()
# Print the device information
print(anc350.get_idn())
# Access the individual axis channels
x_axis = anc350.axis_channels.x_axis
y_axis = anc350.axis_channels.y_axis
z_axis = anc350.axis_channels.z_axis
# Set the frequency of the x-axis to 1000 Hz
x_axis.frequency(1000)
# Set the amplitude of the y-axis to 50 V
y_axis.amplitude(50)
# Move the z-axis to a target position of 10 mm
z_axis.target_position(10)
# Close the connection to the ANC350 device
anc350.close()

Note: Make sure to install the required dependencies (qcodes and pyanc350) before running the script.