Skip to content

Connecting to AWG5014 by Tektronix in Python

Instrument Card

AWG5000 Series models, with a 14 bits DA converter based sample rate from 600 MS/s to 1.2 GS/s, two to four output channels, synchronized four to eight digital marker outputs, and 28-channels of digital data outputs, easilysolve the toughest measurement challenges in wireless base band I/Q communications, digital consumer product design such as imaging devices, data conversion equipment and semiconductor design and test

AWG5014

Device Specification: here

Manufacturer card: TEKTRONIX

TEKTRONIX

Tektronix, Inc., historically widely known as Tek, is an American company best known for manufacturing test and measurement devices such as oscilloscopeslogic analyzers, and video and mobile test protocol equipment.

  • Headquarters: USA
  • Yearly Revenue (millions, USD): 5800
  • Vendor Website: here

Connect to the AWG5014 in Python

PROTOCOLS > SCPI

Here is an example Python script that uses Qcodes to connect to a Tektronix AWG5014 RF Signal Generator:

import qcodes as qc
from qcodes.instrument_drivers.tektronix.AWG5014 import TektronixAWG5014
# Connect to the AWG5014
awg = TektronixAWG5014('awg', 'TCPIP0::192.168.1.1::inst0::INSTR')
# Set the waveform for channel 1
awg.ch1_waveform('SINE')
# Set the amplitude for channel 1
awg.ch1_amplitude(0.5)
# Set the offset for channel 1
awg.ch1_offset(0.0)
# Set the waveform for channel 2
awg.ch2_waveform('SQUARE')
# Set the amplitude for channel 2
awg.ch2_amplitude(1.0)
# Set the offset for channel 2
awg.ch2_offset(0.0)
# Run the AWG
awg.run()
# Disconnect from the AWG
awg.close()

This script connects to the AWG5014 using the IP address ‘192.168.1.1’. It sets the waveform, amplitude, and offset for channels 1 and 2, and then runs the AWG. Finally, it disconnects from the AWG.