Connecting to Keysight E8267D by Agilent in Python
Instrument Card
E8267D PSG Vector Signal Generator, 100 kHz to 44 GHz
Device Specification: here
Manufacturer card: AGILENT
Keysight Technologies, or Keysight, is an American company that manufactures electronics test and measurement equipment and software
- Headquarters: USA
- Yearly Revenue (millions, USD): 5420
- Vendor Website: here
Connect to the Keysight E8267D in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight E8267D RF Signal Generator using Qcodes, you can use the following Python script:
import qcodes as qcfrom qcodes.instrument_drivers.Keysight.Keysight_E8267D import Keysight_E8267D
# Create an instance of the instrumentsignal_generator = Keysight_E8267D("signal_generator", "TCPIP0::192.168.1.1::inst0::INSTR")
# Connect to the instrumentsignal_generator.connect()
# Now you can use the instrument to perform operationsfrequency = signal_generator.frequency()print("Current frequency:", frequency)
# Set a new frequencysignal_generator.frequency(1e9)
# Disconnect from the instrumentsignal_generator.disconnect()
Note that you need to replace "TCPIP0::192.168.1.1::inst0::INSTR"
with the actual address of your Keysight E8267D RF Signal Generator.