Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Tektronix AFG1022 Function Generator

来源: | 作者:FAN | 发布时间 :2025-11-21 | 442 次浏览: | 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:

  • Bently 3500/15 125840-01 Power Supply Module
  • Bently 24765-02-01 Signal Conditioner Module
  • Bently 330130-085-00-00 Extension Cable
  • Bently 3500/22M 138607-01 Vibration Monitor Module
  • Bently 146031-02 Proximity Probe Sensor
  • BENTLY 330104-00-05-10-02-CN Proximity Probe
  • BENTLY 125768-01 3500 I/O Module Interface
  • BENTLY 3500/92 136180-01 Communication Gateway
  • BENTLY 84152-01 Proximitor Sensor Cable
  • BENTLY 3300/20 Dual Driver Proximitor Housing
  • BENTLY 3300/16-11-01-03-00-00-01 16-Channel Monitor
  • DEIF PPU-3 Power Protection Unit for Genset Control
  • DEIF RMV-112D Reactive Power Divider and Voltage Matching Relay
  • DEIF OPM-1 Output Protection Module for Gensets
  • DEIF IPM-1 Integrated Protection Module for Generators
  • DEIF CM-2 Control Module for Industrial Power Systems
  • DEIF PSM-1 Power System Manager Module
  • DEIF DELOMATIC-3 DGU2 Automatic Generator Control Unit
  • DEIF DLQ144-PC-NB Power Monitoring Meter
  • DEIF DU-2/MKIII Voltage Relay Controller
  • DEIF IOM4.2 Input/Output Module for Power Management
  • DEIF SCM-1 Synchronizing Control Module
  • DEIF GPU/2/GS Genset Parallel Unit Controller
  • EMERSON PR6426/010-110 CON021 Proximity System
  • EMERSON PR6423/011-110+C0N021 Proximity Sensor System
  • DEIF LSU-112DG Load Sharing Unit
  • DEIF PCM4.4 Advanced Power Control Module
  • DEIF TAC-311DG Transducer for AC Voltage
  • DEIF SCM4.1 Engine Start Control Module
  • DEIF PCM4.3 Power Control Module
  • Emerson 2500M/AI4UNIV Universal Analog Input Module
  • Emerson PR6424/011-140 Eddy Current Sensor
  • Emerson KJ3242X1-BK1 12P4711X042 Analog Input Module
  • Emerson FX-316 960132-01 Control Processor Module
  • Emerson KJ4006X1-BD1 Power Supply Module
  • EMERSON 1C31181G01 Ovation Analog Output Module
  • EMERSON CE4003S2B6 DeltaV Analog Module
  • EMERSON KJ4001X1-CK1 DeltaV I/O Carrier Card
  • EMERSON VE4012S2B1 DeltaV I/O Module Specifications
  • EMERSON SS6501T01 DeltaV System Assembly Technical Overview
  • Emerson A6370D/DP Display
  • Emerson P188.R2 Power Supply
  • Emerson A6824R 24-Ch Relay
  • Emerson KJ2201X1-JA1 Serial
  • Emerson VE3008 Main Controller
  • Emerson VE3008 CE3008 KJ2005X1-MQ1 Controller Module
  • Emerson TPMC917 Embedded Processor Module
  • Emerson P152.R4 Industrial Control Module
  • Emerson DA7281520 P152 Power Module
  • Emerson PR6423/008-110 Eddy Current Sensor
  • EMERSON 5X00273G01 Ovation DCS Digital Output Module
  • EMERSON KJ4001X1-NB1 12P3368X012 REV:E Redundant Controller Backplane
  • EMERSON KJ4001X1-NA1 12P3373X012 REV:C Intrinsically Safe Interface
  • EMERSON KJ4001X1-BE1 12P0818X072 REV:L DeltaV I/O Carrier
  • EMERSON KJ2221X1-BA1 DeltaV SIS SISNet Repeater Module
  • EMERSON PR6423/000-131 Eddy Current Sensor
  • EMERSON 5X00790G01 Ovation Digital Output Module
  • EMERSON 5X00846G01 Ovation Analog Input Module
  • EMERSON KJ4110X1-BA1 DeltaV Power Supply Base
  • EMERSON CSI3125 A3125/022-020 Dual Channel Monitor
  • EMERSON A6740 Displacement Case Expansion Monitor
  • EMERSON A6312/06 Speed Monitoring Module
  • EMERSON KJ4001X1-BE1 DeltaV Carrier Module
  • EMERSON SE3008 KJ2005X1-MQ2 DeltaV Controller
  • EMERSON KJ4001X1-CA1 DeltaV Terminal Block
  • Emerson PR6423/00R-010 CON031 Eddy Current Probe System
  • Emerson A6824 9199-00090 Operator Workstation
  • Emerson A6410 9199-00005 Operator Workstation
  • Emerson A6110 9199-00001 Operator Workstation
  • Emerson 9199-00002 A6120 Operator Workstation
  • Emerson KJ3002X1-BF1 12P1732X042 FIELDVUE DVC6200
  • Emerson 5X00500G01 Ovation Analog Output Module
  • Emerson VE4001S2T2B4 DeltaV Controller Module
  • Emerson 5X00502G01 Ovation Analog Input Module
  • Emerson A6824R 9199-00098-13 Operator Workstation
  • EMERSON A6140 9199-00058 Dual Channel Monitor
  • EMERSON VE3007 KJ2005X1-BA1 DeltaV Controller
  • EMERSON DB1-1 Connection Termination Block
  • EMERSON PMC-IO-ADAPTER Mezzanine Interface Card
  • EMERSON L0115012 L0115032 Solenoid Valve Components
  • Emerson A6410 Large Operator Workstation
  • Emerson A6210 Operator Workstation
  • Emerson 1C31232G02 Ovation Controller Module
  • Emerson 5X00106G02 Ovation Power Supply Module
  • Emerson 5X00106G01 Ovation Power Supply Module
  • EMERSON PMC-IO-PROZESSOR High-Speed I/O Module
  • EMERSON PMC PROFINET Communication Module
  • EMERSON MVME7100-0171 VMEbus Single Board Computer
  • EMERSON SE3008 KJ2005X1-SQ1 DeltaV MQ Controller
  • EMERSON PR6423/002-041 Eddy Current Displacement Sensor
  • Emerson SE4006P2 Serial Interface Module
  • Emerson KJ2201X1-HA1 Analog Input Module
  • EMERSON CE4001S2T2B4 DeltaV I/O Interface Module
  • EMERSON CE4003S2B1 DeltaV Controller
  • EMERSON KJ2003X1-BA2 DeltaV I/O Carrier
  • Enterasys A4H124-24TX P0973JM 24-Port Fast Ethernet Switch Module
  • Enterasys A2H254-16 P0973BK 16-Port Fast Ethernet Switch Module
  • Enterasys A4H254-8F8T P0973JP Matrix E5 Switch Module
  • Enterasys SSA-T8028-0652 P0973LN SecureStack Gigabit Switch
  • Enterasys A2H124-24FX P0973BJ
  • Enterasys SSA-AC-PS-625W P0973LQ Power Supply
  • Enterasys A2H124-24FX-RH Fiber Fast Ethernet Switch
  • Enterasys A2H254-16-RH Fast Ethernet Switch
  • Enterasys C2G170-24 P0973BL Stackable Gigabit Switch
  • Enterasys STK-RPS-150PS P0973BP Redundant Power Supply
  • ENTERASYS A4H124-24FX P0973JN SecureStack A4 Fiber Switch
  • ENTERASYS A4H124-24TX SecureStack A4 Ethernet Switch
  • ENTERASYS A2H124-24FX SecureStack A2 Fiber Switch
  • ENTERASYS A2H254-16 SecureStack A2 Managed Switch
  • ENTERASYS A4H254-8F8T SecureStack A4 Managed Switch
  • Enterasys C2RPS-CHAS2 Redundant Power System Chassis
  • Enterasys A2H124-24 Managed Ethernet Switch
  • EPRO PR6423/003-030-CN Hazardous Area Sensor
  • EPRO PR6424/012-000 Eddy Current Displacement Probe
  • EPRO PR6424/013-130 + CON021 Eddy Current Sensor System
  • EPRO PR6424/014-040 11mm Eddy Current Probe
  • EPRO PR6423/001-000 Eddy Current Sensor Probe
  • EPRO PR6423/010-000-CN Eddy Current Probe
  • EPRO MMS6823 9100-00001-05 Output Module
  • EPRO CON011 9200-00001N Signal Converter
  • EPRO MMS6120 Dual Channel Speed Monitor 9100-00002-10
  • EPRO MMS6120 Dual Channel Overspeed Protection Monitor 9100-00002C-08
  • EPRO PR6423 and PR6424 Eddy Current Displacement Probes
  • EPRO PR9268/300-000 Seismic Velocity Sensor
  • EPRO MMS3120/022-000 Dual Channel Vibration Monitor 9100-03047-01
  • EPRO MMS6823R 9100-00001-06 Dual Channel Module
  • EPRO PR6423/10R-030-CN Displacement Sensor
  • EPRO PR6423 Eddy Current Displacement Sensor