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 | 998 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:

  • Lauer Systeme LCA620.1 Operating Terminal Industrial HMI Keypad Panel
  • LAUER LXT-K10m Beijer EXTER-K10m Operator Interface Keypad HMI Panel
  • LAUER EPC-PM-1500tc Embedded PC 15 Inch TFT Touch Screen Industrial Computer
  • Lauer Industrial VPC Color Panel Control ID64680
  • Lauer PCSsmart PCS-10TVD-102 Touchscreen Panel
  • Lauer EPC 1200TC Embedded Industrial PC
  • Lauer Control Console PCS 095
  • Lauer PCS-090 Topline Mini Operator Panel PG090.208.D
  • Systeme Lauer 14X Operator Panel
  • Lauer Topline midi PCS950C Operator Panel 24V
  • Lauer PCS090 Topline Mini Control Console – Compact Operator Panel
  • Lauer PCS950 Topline Midi Operator Panel PG 950.100.6 – HMI Terminal
  • Lauer LCA 285.0 Text Display – Alphanumeric Operator Terminal
  • Lauer PCS100 Operator Panel V100.305.7 – Industrial HMI Terminal
  • Systeme Lauer PCS810-1 Interface Module – Communication Board
  • Lauer EPCG Box Embedded 1000TC Motherboard
  • Lauer Systeme LCA285 LCA 285.9 Text Display – 24V Alphanumeric Terminal
  • LAUER PSC090.S Operator Interface Panel – Compact HMI with Serial Communication
  • Lauer PCS590p / PCS595p Busline Mini Profibus DP Panel
  • LAUER PCS009 Control Panel – Compact Operator Terminal
  • Lauer PCS595 Business Mini Profibus DP Control Panel – Compact HMI with Fieldbus
  • LAUER PCS600 Operator Panel PG 600.105.2 – Compact HMI Terminal
  • Lauer LCA Terminal 640.1 – Advanced Operator Workstation
  • LAUER PCS807 Profibus-DP Module 24V DC 5.0VA – Fieldbus Adapter
  • SYSTEME LAUER PCS810.1 Interface Module – Communication Adapter
  • Lauer PCS090 Topline Operator Panel PG 090.204.9 – Compact HMI
  • LAUER PCS950 Rismat Label Operator Panel PG 950.100.6 – HMI Terminal
  • Lauer PCS609 Operator Interface Panel – Keypad Display Terminal
  • LAUER PCS095 Branson Label Operator Panel PG 095.508.A – HMI Terminal
  • Systems Lauer LCA 265 Text Display – Alphanumeric Operator Terminal
  • Lauer PCS-10TVD-102 Touch Panel – Smart HMI for Industrial Control
  • Lauer PCS595i Industrial Operator Panel – High-Performance HMI
  • LAUER PCS950 Operator Panel – Advanced HMI Terminal
  • Lauer PCS100FZ Control Console – Industrial Operator Station
  • Lauer LCA320.0 Industrial Controller – Compact Logic Module
  • Lauer PCS950.000.5 Control Panel PG 950.103.0 – Branson Compatible HMI
  • Lauer LCA Busline 320 Controller Module i01457 – Industrial Logic Unit
  • LAUER PCS095 Complete Controller Display – Graphic Operator Panel
  • Lauer PCS807 Profibus-DP Module PX 807.101.5BM – Fieldbus Adapter
  • Lauer PCS090 Topline Operator Panel PG 090.206.D – Compact HMI Terminal
  • Lauer PCS095 Branson Label Operator Panel PG 095.507.A – HMI Terminal
  • Lauer PCS009 Topline Micro Operating Terminal PG 009.204.1 – Mini HMI
  • LAUER AVTCE210.2 – Industrial Vision and Control Terminal
  • LAUER LCA 245 Text Display SU 245.100.1
  • LAUER PCS807 Profibus DP Module 807.101.5BM
  • Lauer PSC090 Topline Mini Operator Interface Panel – Compact HMI
  • Lauer EPC X 550 TC Embedded Industrial PC with Touch Panel
  • LAUER SYSTEME PCS-900 Operator Panel – Advanced HMI Workstation
  • Lauer PCS095.P PCS Plus Profibus DP Operator Interface – Control Panel
  • Systeme Lauer LCA 180 Text Monitor LD 180.004.1 – Industrial Text Display Terminal
  • LAUER PCS950C – High-Performance Process Control Station
  • LAUER SYSTEME LCA142 – Compact Industrial Controller and Logic Unit
  • LAUER SYSTEME PCS-810-1 – Industrial Panel PC and Control Terminal
  • ASML Right Field Detector 874-0084-002 – Light Intensity Measurement Module
  • ASML IPCB SEM-I-319 Interface Board 4022.636.58181 – VME I/O Module
  • ASML Temperature Sensor Assembly PT1000 4022.481.27732
  • ASML PCB FEI PHILIPS FIDT BD 4022.192.71178
  • ASML IR1-NIR Module 4022.639.86644 – Infrared Near-Infrared Sensor Unit
  • ASML Interface PCB 4022.192.72303
  • SVG Silicon Valley Group 99-54149-01 HMDS Refill Canister for ASML 90S DUV
  • ASML SVG 121-142F Controller Low-Spin Motor Developer
  • ASML 879-0054-002 PROTEUS 150SST Flow Switch
  • ASML 4022.654.97871 LM 4C LPSA Power Supply
  • ASML 28320 PCB Assy OCTU/UC 4022.192.9463
  • ASML 900470 System Interface Card 137285
  • ASML 130-127 PCB Artic
  • ASML 4022.471.76592 PCB-I-E-1391=9G24
  • ASML 4022.430.12256 PCB-I-E-1463=ZA09
  • ASML 879-0262-002 Shutter
  • ASML 4022.654.97872 LM 4C LPSA Power Supply
  • ASML SMC Pneumatic Valve Manifold Assy 4022.472.5315
  • Premium NP-0606 Power Supply 26V/6A for ASML 4022.476.01341
  • ASML PCB Card 4022.428.1023 PAS 5000/2500
  • ASML LISAF 3P Power Supply 4022.634.44801
  • ASML Red/635 Solid State Laser Module 635nm ELEC-I-1050
  • ASML SEM-I-1512 Controller Module 4022.639.02772
  • ASML Chuck QML/MSXLOD 879-0362-002 – Electrostatic Wafer Chuck Assembly
  • ASML SEM-I-737 Interface Module 4022.486.04121.HLN
  • ASML RH-PU-Mk3 Parker Power Unit 4022.631.24391
  • ASML Processor PCB Board PAS 5000/2500 7122.714.1800
  • ASML 4022.455.1103 Rotator Beam OR BS Assy
  • ASML Servo Test Box Frameless Monoset U20L0203
  • ASML 4022.428.1804 Processor PCB Board PAS 5000/2500
  • ASML 12456 Motion Control Board 4022.436.6467
  • ASML 37155 CCD Camera with Lens 4022.456.12463
  • ASML 4022.654.97873 LM 4C LPSA Power Supply
  • ASML 4022.635.04286 MF LS Purging Supply Assy
  • ASML 4022.636.53513 WH PA Interface Box Assy
  • ASML C2913 Cymer Lens 750A 4022.454.48131
  • ASML 4022.472.42622 IR2-FIR Solid State Laser Module
  • ASML 4022.437.20602 Green Laser Head & Controller
  • ASML 4022.651.46362 End Effector & RH Robot Gripper
  • BRONKHORST ASL-100F ASML 4022.666.71411 Mass Flow Controller
  • ASML 4022.471.88172 PAAC 450/20 PRODRIVE
  • ASML ATLAS Vacuum Regulator 4022.481.81953
  • ASML 4022.230.0438 PCB Card for PAS 5000/2500
  • ASML 4022.430.0109 Reticle Table Control PCB
  • ASML 4022.436.2451 Procesador Sello Arriba/Abajo PCB
  • ASML IIB Base 2 PCB Set 4022.436.8304 4022.436.8601
  • ASML 4022.472.62895 Power Supply Interface Module
  • ASML 4022.436.45028 PID Board
  • ASML 4022.671.23212 TCMA Thin Client Module MK2
  • ASML 0021-06148 TAB Clamp Ring Endura 5500 PVD
  • ASML 4022.192.9103 Interface PCB
  • ASML 4022.436.5298 Stepper Barcode Reader
  • ASML SVG 879-0794-001 Micrascan Axiom Assembly
  • ASML 54-125495A02 PC Compact Industrial ASMA003
  • ASML 4022.430.0098 PCB Card PAS 5000/2500
  • ASML 7122.714.1200.5 Processor PCB Board PAS 5000/2500
  • ASML 4022.428.14901 PAS 5000/2500 PCB Card
  • ASML Kay Neum F2 Valve Block PAS 2500 5000
  • ASML 4022.436.2451 Processor Stamp PCB PAS 5000 2500
  • ASML 4022.640.52821 IXL XP Module
  • ASML 859-8184-002 Viewing Power Select Panel
  • OZ OPTICS 4022.656.10963 Laser Module
  • ASML 851-0618-003 Stepper Library Brake
  • GF+ U1000 V2 ASML Ultrasonic Flowmeter 4022.669.98971
  • ASML 4022.636.73571 Zero Sensor Laser Box
  • ASML EO084D Shutter Socket PCB Card
  • PANalytical 402233010044 MPPC Power Supply Driver Unit
  • ASML 4022.631.26719 Load Port Module SEM-I-1310
  • ASML 4022.637.22711 Pneumatic Assembly
  • ASML 851-8942-001 Encoder Buffer PCB
  • ASML 859-0927-007 Lamp Power Compensation PCB Card
  • ASML 4022.639.86643 CDA IR1-NIR Solid State Laser 780nm
  • SVG ASML 28-43015-01 S90 Track CP Module
  • ASML 4022.471.75263 PCB Assembly
  • ASML 4022.637.22711 SEM-I-398 Controller Module