Initiating Waveforms; Arming The Afg; Arming Commands - Agilent Technologies E1445A User's Manual And Scpi Programming Manual

Arbitrary function generator module scpi programming guide
Hide thumbs Also See for E1445A:
Table of Contents

Advertisement

Initiating Waveforms

Arming the AFG

Arming Commands

Chapter 5
After the AFG has been configured to output the desired waveform, the
AFG is set to the Wait-for-Arm state with the command:
INITiate[:IMMediate]
INITiate
is an uncoupled command and is generally the last command
executed before a waveform is output:
SUB Sine_wave
Sine_wave: !Subprogram which outputs a sine wave
COM @Afg
OUTPUT @Afg;"SOUR:FREQ1:FIX 1E3;";
OUTPUT @Afg;":SOUR:FUNC:SHAP SIN;";
OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL 5 V"
OUTPUT @Afg;"INIT:IMM"
SUBEND
If
INITiate[:IMMediate]
Error -213, "Init ignored" is generated.
In order for the AFG to accept trigger signals which output the amplitude
points of the waveform, the AFG must be armed. The information in this
section covers the commands and programming sequence used to arm the
AFG for fixed frequency waveform generation.
The commands which arm the AFG allow you to specify the following:
the arm source
the slope of an external arm signal
the number of arms per
the number of waveform cycles per arm
The arming commands include:
ARM
[:STARt | SEQuence[1]]
[:LAYer[1]]
:LAYer2
is executed when the AFG is not in the Idle state,
INITiate[:IMMediate]
number
:COUNt <
>
number
:COUNt <
>
[:IMMediate]
:SLOPe <
edge
>
source
:SOURce <
>
!frequency
!function
!amplitude
!wait-for-arm state
command
Arming and Triggering
165

Advertisement

Table of Contents
loading

Table of Contents