Initiating Waveforms; Arming The Afg; Arming Commands - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
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]
is an uncoupled command and is generally the last command
INITiate
executed before a waveform is output:
100
SUB Sine_wave
110 Sine_wave: !Subprogram which outputs a sine wave
120
COM @Afg
130
OUTPUT @Afg;"SOUR:FREQ:FIX 1E3;";!frequency
140
OUTPUT @Afg;":SOUR:FUNC:SHAP SIN;"; !function
150
OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL 5 V"!amplitude
160
OUTPUT @Afg;"INIT:IMM"
170
SUBEND
If
INITiate[:IMMediate]
is executed when the AFG is not in the Idle state,
error 213, "Init ignored" is generated.
In order for the AFG to output a waveform, it 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]]
:COUNt <
:LAYer2
:COUNt <
:SLOPe <
:SOURce <
The arming commands for continuous waveforms are coupled commands.
HP E1340A Arming and Marker Outputs
!wait-for-arm state
INITiate[:IMMediate]
number
>
number
>
edge
>
source
>
command
96

Advertisement

Table of Contents
loading

Table of Contents