Connecting to Keysight N5183B MXG by Keysight in Python
Instrument Card
N5183B MXG X-Series microwave analog signal generator offers 9 kHz to 40 GHz frequency coverage and near PSG levels of phase noise performance.
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 N5183B MXG in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight N5183B MXG RF Signal Generator using Qcodes, you can use the following Python script:
from qcodes.instrument_drivers.Keysight.N51x1 import N51x1from qcodes.instrument_drivers.Keysight.KeysightN5183B import KeysightN5183B
# Create an instance of the KeysightN5183B instrumentinstrument = KeysightN5183B('my_instrument', 'TCPIP0::192.168.1.1::inst0::INSTR')
# Connect to the instrumentinstrument.connect()
# Now you can use the instrument to perform various operations# For example, you can set the frequency and power levelinstrument.frequency(1e9) # Set the frequency to 1 GHzinstrument.power(-10) # Set the power level to -10 dBm
# Disconnect from the instrumentinstrument.disconnect()
Note that you need to replace 'TCPIP0::192.168.1.1::inst0::INSTR'
with the actual IP address or VISA resource string of your instrument.