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.
Device Specification: here
Manufacturer card: 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
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a SR560 Preamplifier using Qcodes, you can use the following Python script:
from qcodes.instrument.base import Instrumentfrom qcodes.instrument_drivers.stanford_research.SR560 import SR560
# Create an instance of the SR560 instrumentsr560 = SR560('sr560', address='your_device_address')
# Connect to the instrumentsr560.connect()
# Print the instrument identificationprint(sr560.get_idn())
# Set the cutoff frequenciessr560.cutoff_lo('DC')sr560.cutoff_hi(1000)
# Set the gainsr560.gain(10)
# Set the output inversionsr560.invert(True)
# Disconnect from the instrumentsr560.disconnect()
Make sure to replace 'your_device_address'
with the actual address of your SR560 Preamplifier.