User`s manual
5. Select the Marker Polarity
[SOURce:]MARKer:POLarity <polarity>
NORMal <
polarity> selects active high marker pulses;
INVerted selects active low marker pulses.
6. Enable Marker Outputs
[SOURce:]MARKer[:STATe] ON
This commands enables the AFG to output marker pulses. (Although
*RST automatically enables the AFG for marker outputs, it is given
here for good programming practice.)
7. Setup the Waveform Segment; Store it as Voltage Data Points
[SOURce:]LIST[1][:SEGMent]:SELect <name>
[SOURce:]LIST[1][:SEGMent]:DEFine <
length>
[SOURce:]LIST[1][:SEGMent]:VOLTage <
voltage_list>
8. Setup the Sequence and Generate the Output
[SOURce:]LIST[1]:SSEQuence:SELect <name>
[SOURce:]LIST[1]:SSEQuence:DEFine <
length>
[SOURce:]LIST[1]:SSEQuence:SEQuence <
segment_list>
[SOURce:]FUNCtion:USER <
name>
INITiate[:IMMediate]
BASIC Program Example (MARKTRG)
1 !RE-STORE“MARKTRG”
2 !This program computes a ramp wave as an arbitrary waveform, and
3 !outputs a marker pulse with each waveform amplitude point.
4 !
10 !Assign I/O path between the computer and E1445A.
20 ASSIGN @Afg TO 70910
30 COM @Afg
40 !
50 !Set up error checking
60 ON INTR 7 CALL Errmsg
70 ENABLE INTR 7;2
80 OUTPUT @Afg;"*CLS"
90 OUTPUT @Afg;"*SRE 32"
100 OUTPUT @Afg;"*ESE 60"
110 !
120 !Call the subprograms which reset the AFG and delete all existing
130 !waveform segments and sequences.
140 CALL Rst
150 CALL Wf_del
160 !
170 !Set up the AFG
180 OUTPUT @Afg;"SOUR:FREQ1:FIX 1E6;"; !frequency
Continued on Next Page
Chapter 6 Marker Outputs/Multiple AFG Operations 215