Connecting to SR 570 by Stanford Research Systems in Python
Instrument Card
The SR570 is a low-noise current preamplifier capable of current gains as large as 1 pA/V. High gain and bandwidth, low noise, and many convenient features make the SR570 ideal for a variety of photonic, low temperature and other measurements.
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. Stanford Research Systems manufactures all of their products at their Sunnyvale, California facility.
- Headquarters: Sunnyvale, California
- Yearly Revenue (millions, USD): 24.9
- Vendor Website: here
Connect to the SR 570 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.adapters import VISAAdapterfrom pymeasure.instruments.sr570 import SR570
# Create a VISA adapter for the instrumentadapter = VISAAdapter("GPIB0::1::INSTR")
# Connect to the SR 570 Preamplifierpreamplifier = SR570(adapter)
# Set the sensitivity to 1e-9preamplifier.sensitivity = 1e-9
# Set the filter type to '6dB Highpass'preamplifier.filter_type = '6dB Highpass'
# Set the lowpass frequency to 1 Hzpreamplifier.low_freq = 1
# Set the highpass frequency to 0.03 Hzpreamplifier.high_freq = 0.03
# Enable the bias voltagepreamplifier.enable_bias()
# Enable the offset currentpreamplifier.enable_offset_current()
# Clear any overload conditionpreamplifier.clear_overload()
# Blank the frontend outputpreamplifier.blank_front()
# Disconnect from the instrumentpreamplifier.disconnect()
This script connects to the SR 570 Preamplifier using a VISA adapter, sets various settings such as sensitivity, filter type, and frequency, enables the bias voltage and offset current, clears any overload condition, and blanks the frontend output. Finally, it disconnects from the instrument.