Initiating Waveforms
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:
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”
!wait-for-arm state
170
SUBEND
If
INITiate[:IMMediate]
is executed when the AFG is not in the Idle state,
error 213, "Init ignored" is generated.
Arming the AFG
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.
Arming Commands
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
INITiate[:IMMediate]
command
•
the number of waveform cycles per arm
The arming commands include:
ARM
[:STARt|SEQuence[1]]
[:LAYer[1]]
:COUNt <
number
>
:LAYer2
:COUNt <
number
>
:SLOPe <
edge
>
:SOURce <
source
>
The arming commands for continuous waveforms are coupled commands.
Chapter 5
HP E1340A Arming and Marker Outputs 96
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...