User`s manual

Generating Marker Pulses for Each Waveform Point
The MARKTRG program shows how to generate and output a 12 nS wide
marker pulse at each point of the waveform. The pulses are output at the
“Marker Out” BNC. Since the pulses are output each time a segment is output,
the pulse rate is the same as the sample rate (you can use this function as
another way to lockstep multiple AFGs). The example generates a 10 point, +5
V ramp. Although this example generates an arbitrary waveform, the pulses
can be generated in any function and sample source.
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 TRIGger[:STARt|:SEQuence[1]]
This command selects the marker source for the front panel’s “Marker
Out” connector to output marker pulses at the sample rate. (See
“Available Marker Sources” on page 205 for the different sources.)
214 Marker Outputs/Multiple AFG Operations Chapter 6