Connecting to Keysight 33512B by Keysight in Python
Instrument Card
The 33512B provides Keysight’s exclusive Trueform technology which offers unmatched capabilities for generating a full range of signals for your most demanding measurements. The 33512B can be easily upgraded to 30 MHz as your needs change.
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 33512B in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight 33512B RF Signal Generator using Qcodes, you can use the following Python script:
from qcodes.instrument_drivers.Keysight.Keysight_33XXX import WaveformGenerator_33XXX
# Create an instance of the instrumentsignal_generator = WaveformGenerator_33XXX('signal_generator', 'TCPIP0::192.168.1.1::INSTR')
# Connect to the instrumentsignal_generator.connect_message()
# Now you can use the instrument to control the signal generator# For example, to set the frequency of channel 1 to 1 MHz:signal_generator.ch1.frequency(1e6)
# To turn on the output of channel 1:signal_generator.ch1.output('ON')
# To turn off the output of channel 1:signal_generator.ch1.output('OFF')
# To disconnect from the instrumentsignal_generator.close()
Note: Replace 'TCPIP0::192.168.1.1::INSTR'
with the actual VISA resource name or address of your Keysight 33512B RF Signal Generator.