Connecting to Weinschel 8320 by Weinschel in Python
Instrument Card
Spectrum Control’s Weinschel brand Model 8320 Series Multi-channel Programmable Attenuator systems allow for multiple attenuator channels to be controlled across a variety of interfaces, or via a front panel.
Device Specification: here
Manufacturer card: WEINSCHEL
Weinschel Associates designs and manufactures high-quality Broadband RF and Microwave products for commercial and military markets domestically and internationally. Core technologies originated by founder Bruno Weinschel are leveraged using modern design, production, delivery, and service techniques to provide the best product at the best price to our customers.
- Headquarters: USA
- Yearly Revenue (millions, USD): 6.6
- Vendor Website: here
Connect to the Weinschel 8320 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Weinschel 8320 Digital Attenuator using Qcodes, you can use the following Python script:
from qcodes.instrument.visa import VisaInstrument
# Create an instance of the Weinschel8320 instrumentweinschel = Weinschel8320('weinschel', 'your_visa_address')
# Connect to the instrumentweinschel.connect()
# Set the attenuation to 10 dBweinschel.attenuation(10)
# Get the current attenuation valueattenuation_value = weinschel.attenuation()
# Print the current attenuation valueprint(f"Current attenuation: {attenuation_value} dB")
# Disconnect from the instrumentweinschel.disconnect()
Make sure to replace 'your_visa_address'
with the actual VISA address of your Weinschel 8320 Digital Attenuator.