Connecting to Keysight 33210A by Keysight in Python
Instrument Card
The Keysight (formerly Agilent) 33210A is the latest function/arbitrary waveform generator from Keysight. It uses direct digital synthesis techniques to create a stable, accurate output signal having clean, low distortion sine waves. For user defined waveforms, option 002 provides 14-bit 8k point arbitrary waveform generation
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 33210A in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight 33210A Function 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 function generator. In the example, it sets the frequency of channel 1 to 1 kHz 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.