Connecting to Keysight 33510B by Keysight in Python
Instrument Card
The 33510B waveform generator provides Keysight’s exclusive Trueform technology which offers unmatched capabilities for generating a full range of signals for your most demanding measurements.
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 33510B in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight 33510B RF Signal Generator using Qcodes, you can use the following Python script:
This script creates an instance of the WaveformGenerator_33XXX
class from the qcodes.instrument_drivers.Keysight.Keysight_33XXX
module. It then connects to the instrument using the specified VISA resource address (TCPIP0::192.168.1.1::INSTR
in this example).
Once connected, you can use the instrument instance to control the signal generator. In the example, it sets the frequency of channel 1 to 1 MHz using the frequency
parameter of the ch1
submodule. It then reads the current frequency setting and prints it.
Finally, the script disconnects from the instrument using the disconnect
method of the instrument instance.