Connecting to AFG3000 by Tektronix in Python
Instrument Card
Unmatched performance, versatility, intuitive operation, and affordability make the AFG3000 Series of Function, Arbitrary Waveform, and Pulse Generators the most useful instruments in the industry.
Users can choose from 12 different standard waveforms. Arbitrary waveforms can be generated up to 128 K in length at high sampling rates. On pulse waveforms, leading and trailing edge time can be set independently. External signals can be connected and added to the output signal. Dual-channel models can generate two identical or completely different signals. All instruments feature a highly stable time base with only ±1 ppm drift per year.
A large screen shows all relevant waveform parameters and graphical wave shape at a single glance. This gives full confidence in the signal settings and lets you focus on the task at hand. Shortcut keys provide direct access to frequently used functions and parameters. Others can be selected conveniently through clearly structured menus. This reduces the time needed for learning and relearning how to use the instrument. Look and feel are identical to the world’s most popular TDS3000 Oscilloscopes.
Device Specification: here
Manufacturer card: TEKTRONIX
Tektronix, Inc., historically widely known as Tek, is an American company best known for manufacturing test and measurement devices such as oscilloscopes, logic analyzers, and video and mobile test protocol equipment.
- Headquarters: USA
- Yearly Revenue (millions, USD): 5800
- Vendor Website: here
Connect to the AFG3000 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to an AFG3000 Function Generator using Qcodes, you can use the following Python script:
This script creates a Station
object to hold the instruments, then connects to the AFG3000 Function Generator using the AFG3000
driver. The AFG3000 instrument is added to the station, and its available parameters are printed. The script then sets the trigger mode to ‘TRIG’ and the output impedance of channel 1 to 50 Ohm. Finally, it sets the amplitude modulation depth of channel 2 to 10%. The connection to the instruments is closed at the end of the script.
Note: Replace 'TCPIP0::192.168.1.1::inst0::INSTR'
with the actual address of your AFG3000 Function Generator.