Skip to content

Connecting to SR560 by Stanford Research Systems in Python

Instrument Card

The SR560 is a high-performance, low-noise preamplifier that is ideal for a wide variety of applications including low-temperature measurements, optical detection, and audio engineering.

SR560

Device Specification: here

Manufacturer card: STANFORD RESEARCH SYSTEMS

STANFORD RESEARCH SYSTEMS

Stanford Research Systems is a maker of general test and measurement instruments. The company was founded in 1980, is privately held, and is not affiliated with Stanford University.

  • Headquarters: USA
  • Yearly Revenue (millions, USD): 25
  • Vendor Website: here

Connect to the SR560 in Python

PROTOCOLS > SCPI

To connect to a SR560 Preamplifier using Qcodes, you can use the following Python script:

from qcodes.instrument.base import Instrument
from qcodes.instrument_drivers.stanford_research.SR560 import SR560
# Create an instance of the SR560 instrument
sr560 = SR560('sr560', address='your_device_address')
# Connect to the instrument
sr560.connect()
# Print the instrument identification
print(sr560.get_idn())
# Set the cutoff frequencies
sr560.cutoff_lo('DC')
sr560.cutoff_hi(1000)
# Set the gain
sr560.gain(10)
# Set the output inversion
sr560.invert(True)
# Disconnect from the instrument
sr560.disconnect()

Make sure to replace 'your_device_address' with the actual address of your SR560 Preamplifier.