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 | 1000 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Example program: In addition to Python, it also provides control examples for C # and LabVIEW, covering scenarios such as waveform generation, modulation, and triggering;

VISA library compatibility: It explicitly supports TekVISA 4.0+and NI-VISA 5.0+, and it is not recommended to use older versions;

Firmware version description: Command differences between different firmware versions (such as some advanced commands requiring firmware ≥ 1.5.0).


Key issue

Question 1: How to ensure that the waveforms of two channels are "phase synchronized" when AFG1022 controls the output of two channels through SCPI commands? If there is still a phase deviation after synchronization, what commands can be used to adjust it?

answer:

1. Steps to ensure phase synchronization:

Enable channel synchronization function: Send command: SOURce: SYNC: STATe ON. At this time, the trigger signal of channel 2 will follow channel 1 to ensure that the output starting phase is consistent;

Unified trigger source: Set both channels' trigger sources to internal (TRIGger: SURCE INTernal) or the same external trigger (TRIGger: SURCE EXTernal) to avoid differences in trigger timing;

Same sampling clock: The two channels of AFG1022 share the same sampling clock without additional configuration, only ensuring that the channel synchronization function is enabled.

2. Phase deviation adjustment method:

If there is still a phase deviation after synchronization (such as channel 2 lagging behind channel 1 by 10 °), the phase of channel 2 can be fine tuned using the phase offset command:

Command format: SOURce2: PHAse: AJust<degrees>(phase adjustment range: -180 °~+180 °);

Example: SOURce2: PHAse: AJust 10 (leading channel 2 phase by 10 ° to offset the original lag);

Verification: Simultaneously collect the outputs of two channels through an oscilloscope, or check the phase setting (SOURce2: PHAse: ADJust?) to confirm the adjustment results.


Question 2: When using Python+pyvisa to control AFG1022 to generate a "10MHz square wave (duty cycle 30%, amplitude 8Vpp, DC offset 1V)", if the instrument does not output after executing the command, what are the possible reasons? Please list and provide troubleshooting steps according to priority.

answer:

1. Possible reasons and troubleshooting steps sorted by priority:

Steps for troubleshooting possible reasons for priority

1. Output not enabled. 1. Send query command: OUTPut: State? Confirm whether the return value is "ON";

If it is "OFF", send: OUTPut: STATe ON to enable output.

2 parameters exceed hardware limitations. 1. Check square wave frequency: 10MHz within the AFG1022 square wave frequency range (0.1Hz~120MHz), no problem;

2. Check the duty cycle: 30% is within the duty cycle range (10%~90%) corresponding to the 10MHz frequency, and there are no issues;

3. Check the amplitude and DC offset:

-Amplitude 8Vpp (maximum 20Vpp under 50 Ω load, compliant);

-DC offset 1V (± 10V under 50 Ω load, compliant);

-Key verification: amplitude+2 × DC offset ≤ 20V (8Vpp+2 × 1V=10V ≤ 20V, no overload).

3 command syntax errors 1. Check if the square wave configuration command is complete:

Correct command sequence:

-Choose square wave: SOURce: WAVEform SQUare;

-Set frequency: SOURce: FREQuency 10e6;

-Set duty cycle: SOURce: PULSe: DCYCle 30;

-Set amplitude: SOURce: VOLTage: AMPity 8;

-Set DC offset: SOURce: VOLTage: OFFset 1;

2. Enable command echo (SYSTem: ECHO ON), confirm that the sent command is consistent with the above and has no spelling errors (e.g. SOURce: PULSe: DCYCle mistakenly written as SOURce: SQARE: DCYCle).

4. Communication connection abnormality 1. Check VISA resource name: Confirm the resource name of AFG1022 through rm.list_desources() (e.g. USB interface is USB0:: 0x0699:: 0x0368:: C012345:: 0:: INSTR), ensure that the resource name connected in the code is correct;

2. Check the USB cable: Replace the USB 2.0 cable to avoid communication interruption caused by poor cable contact;

3. Restart the instrument: Power off and restart AFG1022 to establish a VISA connection again.

5 Instrument hardware failure 1. Execute self-test command: SYSTem: SELFtest? If "PASSED" is returned, it indicates that the hardware is normal. Otherwise, contact after-sales service;

2. Manual operation verification: Manually configure the same parameters through the instrument front panel, observe whether there is output, and rule out hardware problems other than programming control.


Question 3: In the "Modulation Function" of AFG1022, the "Modulation Depth" parameter range for AM modulation (amplitude modulation) is 0%~100%. Please explain the physical meaning of "Modulation Depth 50%" and use the SCPI command to implement "Channel 1 outputs a 100kHz sine wave carrier and uses a 1kHz sine wave for AM modulation (depth 50%, modulation source is internal)". At the same time, write a command sequence to query whether the modulation parameters have been successfully configured.

answer:

1. The physical meaning of "modulation depth 50%":

AM modulation (amplitude modulation) is the process of controlling the amplitude of a carrier signal through a modulation signal, causing the amplitude of the carrier signal to vary with the modulation signal. Modulation depth of 50% represents:

  • 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