Connecting to Keysight E8267D PSG by Keysight in Python
Instrument Card
The E8267D PSG Vector Signal Generator is the highest performance, fully-integrated microwave vector signal generator from 100 kHz to 44 GHz, allowing you to create realistic wideband radar, electronic warfare (EW), and satellite communications (SATCOM) waveforms.
Device Specification: here
Manufacturer card: KEYSIGHT
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 PSG in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight E8267D PSG RF Signal Generator using Qcodes Community, you can use the following Python script:
from qcodes.instrument.visa import VisaInstrumentfrom qcodes.instrument_drivers.Keysight.Keysight_E8267D import Keysight_E8267D
# Create an instance of the Keysight E8267D PSG RF Signal Generatorsignal_generator = Keysight_E8267D("signal_generator", "TCPIP0::192.168.1.1::inst0::INSTR")
# Connect to the signal generatorsignal_generator.connect()
# Now you can use the instrument to control the signal generator# For example, to set the frequency:signal_generator.frequency(1e9)
# To get the current frequency:frequency = signal_generator.frequency()
# To set the power:signal_generator.power(-10)
# To get the current power:power = signal_generator.power()
# Disconnect from the signal generatorsignal_generator.disconnect()
Please note that you need to replace "TCPIP0::192.168.1.1::inst0::INSTR"
with the actual VISA address of your Keysight E8267D PSG RF Signal Generator.