Skip to content

Connecting to ANC300 by Attocube in Python

Instrument Card

The ANC300 is a modular positioner control unit providing suitable drive signals to actuate attocube’s open loop positioners or scanners manually or under computer control.

ANC300

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 ANC300 in Python

PROTOCOLS > SCPI

To connect to an ANC300 Positional Controller using Qcodes Community, you can use the following Python script:

from qcodes_contrib_drivers.drivers.Attocube.ANC300 import ANC300
# Create an instance of the ANC300 driver
anc300 = ANC300('anc300', 'TCPIP0::192.168.1.1::inst0::INSTR')
# Connect to the ANC300 controller
anc300.connect()
# Perform operations on the ANC300 controller
# For example, you can read the version information
version_info = anc300.version()
print(version_info)
# Close the connection to the ANC300 controller
anc300.close()

This script creates an instance of the ANC300 driver and connects to the ANC300 controller using the specified address (replace 'TCPIP0::192.168.1.1::inst0::INSTR' with the actual address of your ANC300 controller). You can then perform operations on the ANC300 controller, such as reading the version information. Finally, the script closes the connection to the ANC300 controller.