Gating the Waveforms
Gating a waveform is the process of suspending the output waveform. This
is accomplished by gating the reference oscillator on and off. An active gate
suspends waveform output at the point when the AFG receives the gate. Set
the gate inactive and waveform output resumes.
The following example shows how to use the AFG’s "Aux In" BNC to
suspend waveform output. A high (TTL level) on the BNC activates the
gate.
The steps of program are as follows:
1. Set the Reference Oscillator Source -
[SOURce:]ROSCillator:SOURce <
source
>
2. Set the Output (Burst) Frequency -
[SOURce:]FREQuency[:CW|:FIXed] <
frequency
>
3. Set the Output Function -
[SOURce:]FUNCtion[:SHAPe] <
shape
>
4. Set the Signal Amplitude -
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <
amplitude
>
5. Set the Gate State On -
[SOURce:]ROSCillator:GATE:STATe <
state
>
6. Place the AFG in the Wait-for-arm State -
INITiate[:IMMediate]
HP IBASIC (GATE_SIG)
1
!RE-SAVE“GATE_SIG”
2
!This program gates the output of a 10 kHz triangle wave. When
3
! the gate signal is high, the gate is active and the waveform is
4
!suspended. When the gate signal is low, the gate is inactive and
5
!the waveform resumes.
6
!
10
!Assign I/O path between IBASIC and the E1340A.
20
ASSIGN @Afg TO 80910
30
COM @Afg
40
!
50
!Set up error checking
60
ON INTR 8 CALL Errmsg
70
ENABLE INTR 8;2
80
OUTPUT @Afg;“*CLS”
90
OUTPUT @Afg;“*SRE 32”
Continued on next page
101 HP E1340A Arming and Marker Outputs
Chapter 5
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 ...