User`s manual
Generating Multiple
Marker Pulses in
Multiple Segment
Lists
The MARKSEG1 program shows how to generate marker pulses using
[SOURce:]LIST[1][:SEGMent]:MARKer and
[SOURce:]LIST[1]:SSEQuence:MARKer. The program generates a sine wave
and triangle wave. It generates a 10 points wide active low marker pulses
starting at the center of the triangle waveform. The program generates
a 512 point, 5 V sine wave and 5 V triangle wave.
The commands are:
1. Reset the AFG
*RST
2. Clear the AFG Memory of All Sequence and Segment Data
[SOURce:]LIST[1]:SSEQuence:DELete:ALL
[SOURce:]LIST[1][:SEGMent]:DELete:ALL
3. Setup the AFG for Output
[SOURce:]FREQuency[1][:CW | :FIXed] <frequency>
[SOURce:FUNCtion[:SHAPe] USER
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <
amplitude>
4. Select the Marker Source
[SOURce:]MARKer:FEED “[SOURce:]LIST[1]”
This command selects the marker source for the front panel’s
“Marker Out” connector to output marker pulses generated by
arbitrary waveforms. (See “Available Marker Sources” on page 205
for the different sources.)
5. Select the Marker Polarity
[SOURce:]MARKer:POLarity <polarity>
NORMal <
polarity> selects active high marker pulses;
INVerted selects active low marker pulses.
Chapter 6 Marker Outputs/Multiple AFG Operations 207