Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Tektronix AFG1022 Function Generator

F: | Au:FAN | DA:2025-11-21 | 1156 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

Tektronix AFG1022 Function Generator

Basic Information

Tektronix has released an official programming guide for the AFG1022 dual channel function generator, with the core goal of guiding users to achieve instrument automation control through SCPI (Standard Commands for Programmable Instruments), suitable for engineers who need to integrate AFG1022 into testing systems such as production line testing and laboratory automation.

Product core parameters: 2 independent channels, with a maximum bandwidth of 120MHz per channel, supporting 11 waveforms including sine wave, square wave, pulse wave, etc;

Supporting interfaces: GPIB (compliant with IEEE 488.2 standard), USB-TMC (USB 2.0 High Speed, compatible with USBTMC protocol);

Software compatibility: Supports mainstream VISA libraries such as TekVISA and NI-VISA, and can be called through programming languages such as Python, C #, LabVIEW, etc;

Document structure: Organized according to the sequence of "Command Fundamentals ->Function Control ->Interface Configuration ->Error Handling ->Appendix", containing a large number of command examples and code snippets.


SCPI Command Fundamentals (Programming Control Premiere)

1. Command structure and syntax rules

The SCPI command of AFG1022 adopts a hierarchical structure, separated by colons (:) to facilitate functional classification and memory. The core rules are as follows:

Example of Specific Explanation of Rule Categories

Hierarchical structure root command (e.g. SOURce)+sub command (e.g. FREQuency), channels can be omitted (default channel 1) Control channel 1 frequency: SOURce: FREQ 1000 (or SOURce: FREQ 1000); Control channel 2: SOURce2: FREQ 2000

Case sensitivity commands are not case sensitive, and parameter enumeration (such as ON/OFF) is also not sensitive: SOURce: WAVEform SIN is equivalent to: source: Waveform sin

The space rule allows for the addition of spaces between commands and parameters, as well as between parameters, without affecting parsing. SOURce: FREQ 1000 is equivalent to SOURce: FREQ 1000

The abbreviation rule command can use the first 3 characters for abbreviation (some commands support longer abbreviations): SOURce can be abbreviated as: SOU,: FREQuency can be abbreviated as: FRE

2. Command types and data formats

Command type:

Set command: used to configure instrument parameters, in the format of "command+parameter", with no return value;

Example: SOURce: VOLTage: AMPity 5 (set channel 1 amplitude to 5Vpp).

Query command: used to read the current parameters of the instrument, in the format of "command+question mark (?)", and return the corresponding value;

Example: SOURce: VOLTage: AMPlity? (Query the current amplitude of channel 1 and return "5.000000e+00").

Data format:

Example of Data Type Format Requirements

Numerical type supports integer (1000), decimal (1.234), Scientific notation (1e6) frequency setting: SOURCE: FREQ 1.234e6 (1.234MHz)

String type needs to be enclosed in double quotation marks ("), supporting letters, numbers, and special characters. Save settings: SYSTem: SETup: SAVE" MY_STUP1“

Enumeration type predefined options that require strict matching (case insensitive) waveform selection: SOURce: WAVEform SQUare, SOURce: WAVEform TRIangle

image.png

Core functional programming control (divided by functional modules)

1. Basic waveform generation and parameter control

AFG1022 supports 11 standard waveforms, and can select waveform types and configure core parameters (frequency, amplitude, DC offset, etc.) through SCPI commands. The parameter range and corresponding commands are as follows:

Function module core parameter range control command (channel 1 as an example) query command

11 types of waveform selection, including sine wave (SINusoid), square wave (SQUare), pulse wave (PULSe), etc.: SOURCE: WAVEform SINusoid: SOURCE: WAVEform?

Frequency setting output frequency: 0.1Hz~120MHz (sine wave/square wave); 0.1Hz~10MHz (pulse wave): SOURce: FREQuency 1000 (1kHz): SOURce: FREQuency?

Amplitude setting peak to peak amplitude of 10mVpp~20Vpp (50 Ω load); 20mVpp~40Vpp (high impedance load): SOURce: VOLTage: AMPlity 5 (5Vpp): SOURce: VOLTage: AMPlity?

DC offset DC offset voltage ± 10V (50 Ω load); ± 20V (high impedance load): SOURce: VOLTage: OFFset 2 (+2V): SOURce: VOLTage: OFFset?

Square wave duty cycle, such as wave height to level ratio of 10% to 90% (frequency ≤ 10MHz): SOURce: PULSe: DCYCle 50 (50%): SOURce: PULSe: DCYCle?

2. Advanced Function Control

(1) Modulation function (AM/FM/PM)

Support amplitude modulation (AM), frequency modulation (FM), phase modulation (PM), configurable modulation source (internal/external), modulation depth and other parameters:

Enable modulation: SOURce: MOD: STATe ON;

Select modulation type: SOURce: MOD: TYPE AM (AM modulation);

Configure internal modulation source frequency: SOURce: MOD: INTernal: FREQ 100 (100Hz modulation signal);

Configure AM modulation depth: SOURce: MOD: AM: DEPTh 50 (50% modulation depth).

(2) Trigger and synchronization

Supports internal triggering (continuous output), external triggering (controlled by external signals), and software triggering, suitable for synchronous multi device testing:

  • Bonfiglioli ACT 401-19 A Inverter
  • Bonfiglioli ACT 401-13FA Inverter
  • Bonfiglioli W 63 U 24 Gearbox
  • Bonfiglioli BN 80 B4 Electric Motor
  • Bonfiglioli A 30 2 UH35 Gearbox
  • Bonfiglioli ACT 401-09 FA Inverter
  • Bonfiglioli EM-SYS DS179675010 Communication Module
  • Bonfiglioli AGL402-15 2 FA Inverter
  • Bonfiglioli W63UF115P90B5B3 Gear Reducer
  • Bonfiglioli 2KB2 060-0405-A00003 Bearing
  • Bonfiglioli VF 44 A 10 P63 B5 B3 Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli ACT 201-11FA Inverter
  • Bonfiglioli AGL402-15 2 FA Inverter
  • Bonfiglioli AGL402-07 1 FA Inverter
  • Bonfiglioli ACU 410-19 3 A Inverter
  • Bonfiglioli A 10 2 UH25 P71 Gearmotor
  • Bonfiglioli ACT 401-13 FA Inverter
  • Bonfiglioli ACU 410-15 2 FA Inverter
  • Bonfiglioli ACU 410-27 5 A Inverter
  • Bonfiglioli BN 63B 4 B5 Motor
  • Bonfiglioli AGL402-18 2 FA Frequency Inverter
  • Bonfiglioli W86-UF1-P90B5 Worm Gear Reducer
  • Bonfiglioli MP 080 80 STD 80A1 Planetary Gearbox
  • Bonfiglioli BN90S4 Motor
  • Bonfiglioli A413 UH40 Gear Motor
  • Bonfiglioli VF 63 Gear Reducer
  • Bonfiglioli ACU 201-05 FA Inverter
  • Bonfiglioli ACT 401-13FA Inverter
  • Bonfiglioli LC 120 1 10 STD 110A1 CD 24 KE Gear Unit
  • Bonfiglioli Fuji GVX2000-11-TSL2 Inverter
  • Bonfiglioli ACU 401-05 FA Inverter
  • Bonfiglioli W86UP100B5 Gearbox
  • Bonfiglioli MP 130.1.5.10 Gear Unit
  • Bonfiglioli ACT W401-29C Vector Inverter
  • Bonfiglioli BE 71A 4 Gearmotor
  • Bonfiglioli BN 71B 4 Asynchronous Motor
  • Bonfiglioli W110U100P90B5B3 Gear Reducer
  • Bonfiglioli VF 49 F1 7 P71 B5 B3 Gearbox
  • Bonfiglioli MP 080 2 16 STD 50D Gear Unit
  • Bonfiglioli VF 44 A 10 P63 B5 B3 Worm Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli CM-EtherCAT DS179675207 Module
  • Bonfiglioli 8AF2400CK BX 90 L A 4 Motor
  • Bonfiglioli BRA 400-045 BF2 Inverter
  • Bonfiglioli TQF 070 Planetary Servo Gearbox
  • Bonfiglioli B-SYN-04-0780 Servomotor
  • Bonfiglioli TA45.50-25.0-D-0S Shaft Gearbox
  • Bonfiglioli AS 20 F 21.19 071 B5 Helical Gearbox
  • Bonfiglioli 07/63 EE B5 Gear Unit
  • Bonfiglioli EVO200280738 Drive Assembly
  • Bonfiglioli ACT 401-29A Frequency Converter
  • Bonfiglioli ACT 401-22A Frequency Inverter
  • Bonfiglioli Siemens 1LA70964AA91-Z VF72 Motor
  • Bonfiglioli BN 100 LA 4 Electric Motor
  • Bonfiglioli BN 63B 4 8D1002058S Electric Motor
  • Bonfiglioli HPC-Module 150303003 Inverter Module
  • Bonfiglioli Vectron ACU 210-07 1 FA Drive Unit
  • Bonfiglioli ACT 401-18FA Frequency Inverter
  • Bonfiglioli VCB 400-060 400031060 Brake Chopper
  • Bonfiglioli W86UP90B5 2G28010656 Gearbox Reducer
  • Bonfiglioli EM-ENC-05 DS179675024 Encoder Module
  • Bonfiglioli ACT 401-25A Frequency Inverter
  • Bonfiglioli PMT400-034 BF1 Inverter
  • Bonfiglioli CM-485 T Communication Module
  • Bonfiglioli AS 20 F 21.19 071 B5 Gearbox
  • Bonfiglioli W86UFC146P90B5B3 Gear Reducer
  • Bonfiglioli ACT201-05FA Frequency Inverter
  • Bonfiglioli VF 44 P P63 B14 Gear Reducer Motor
  • Bonfiglioli ZFA 400-014 D Frequency Inverter
  • Bonfiglioli Engineering 2B HMI Touch Panel
  • Bonfiglioli ACT 401-26A Inverter Driver
  • Bonfiglioli SPL400 13F Inverter
  • Bonfiglioli ZFA 400-040 D Frequency Inverter
  • Bonfiglioli ACT 401-23A Frequency Inverter
  • Bonfiglioli BTD5-2730-30-400-FD24 Servo Motor
  • Bonfiglioli ACT401-11FA Frequency Inverter
  • Bonfiglioli EM-ENC 03 179-675 022 Encoder Module
  • Bonfiglioli EM-I/O 03 179-675 043 I/O Module
  • Bonfiglioli DS179675597 Meter Module
  • Bonfiglioli ZFA 400-010 D2 Frequency Inverter
  • Bonfiglioli Vectron ZBA400-018D Frequency Inverter
  • Bonfiglioli Vectron ACT 401-26A Inverter
  • Bonfiglioli ACT ZR 401-18D Frequency Inverter
  • Bonfiglioli Vectron ZFB 400-018 Frequency Inverter
  • Bonfiglioli ACT W 401-29 C Frequency Inverter
  • Bonfiglioli Vectron BRA 400-045 BF2 Inverter
  • Bonfiglioli ACT 400-034A Frequency Inverter
  • Bonfiglioli RAN 15 D A 1 HS B3 Gear Unit
  • Bonfiglioli ZFB 400-060 Frequency Inverter
  • Milton Industries LT1240 LTI Tool Lugnut Remover
  • LTi Drives SO84.200.P030.0000.0-W Servo Spindle 100kW
  • Milton LTI LT1600P Torx Stick
  • LTI Lust VF1424L Variable Frequency Drive
  • LTI SO84.045.0002.0001.2-W Servo Drive
  • LTI Lust VF1404M Frequency Inverter
  • LTI SA54.0550.0033.0000.0 Servo Drive
  • LTI Tools LT-1400C Wheel Torque Extension
  • LTI SO84.143.0020.0101.2-W Servo Drive
  • LTI MOTION SC34.0200.0011.0000.0 Servo Drive
  • LTI DRIVES MS100 0927.0017 Assembly Set
  • LTI MOTION SO84.032.0003.0101.2 Servo Drive
  • LTI DRIVES SE84.200.SC00.0001.0-W 110kW Drive
  • Lust CDE34.005.W2.2 Lti Drives Servo Drive
  • LTi SO84.012.0030.0011.2 ServoOne Servo Drive
  • LTi CDE34.017.W3.0 Servo Drive
  • Seagate 9CC132-302 Harris LTI-CS Hard Drive 160GB
  • LTI SO24.007.0070.0000.1 Servo Controller
  • LTi Drive CDA32.003.C3.0.H05-01.PC1 Controller
  • LTI SO84.016.0030.0000.2 Servo Controller
  • LUST LTI CD A34.008 W1.4 BR Servo Drive
  • LTI Servo One SO84.045.0030.0001.2-W Drive 22kW
  • Lust LTi Servo One SO84.032.0040.0000.2 Drive
  • Milton LTI LT1600P Torx Stick
  • LTI Lust VF1424L Variable Frequency Drive
  • LTI SO84.045.0002.0001.2-W Servo Drive
  • LTI Lust VF1404M Frequency Inverter
  • LTI SA54.0550.0033.0000.0 Servo Drive
  • LTI Tools LT-1400C Wheel Torque Extension
  • LTI SO84.143.0020.0101.2-W Servo Drive
  • LTI MOTION SC34.0200.0011.0000.0 Servo Drive
  • LTI DRIVES MS100 0927.0017 Assembly Set
  • LTI MOTION SO84.032.0003.0101.2 Servo Drive
  • LTI SO84.032.0003.0101.2 Servo Drive Commissioning Guide
  • LTI CDD34.032 C1 Servo Drive
  • Lust Servo One SO84.008.0030.1000.0 Drive
  • LTI MOTION SO84.032.0003.0101.2 Servo Drive
  • LTI Tools LT-1400C 1/2 inch Wheel Torque Extension 100 Ft/Lbs