User Manual LW120
3) Assign the mixed mode bits for each sequence step in your SEQ:DEF command. “0” programs normal
advance, “1” programs trigger advance. Step with a “0” bit assigned to it will advance automatically to
the next step. If “1” is assigned to a step, the instrument will generate this step and its associated
number of repeats continuously and only a valid trigger signal will advance this step to the next step.
SEQuence:ADVance?
Response and default
The LW120 will return the AUTO, STEP, SING, or MIX depending on the present sequence advance mode
setting. Default value is AUTO
SEQuence:ADVance:SOURce(?){EXTernal|INTernal}
Purpose
This command will select the sequence advance source. The source of the event causing sequence
advance can be specified by the user.
•
<EXTernal> will set the external advance mode
•
<INTernal> will set the internal advance mode
SEQuence:ADVance:SOURce?
Response and default
The LW120 will return the EXT, or INT depending on the present single-sequence advance source setting.
Default value is EXT.
SEQuence:DEFine
<step_#>,<segment_#>,<#_repeat>,<mode>
Purpose
This command will define sequence steps and their associated advance mode.
•
<step_#> will define the link number
•
<segment_#> will select the segment for the above link
•
<#_repeat> will define how many times the selected segment will loop
•
<mode> will assign the mixed mode bits for this sequence step. “0” programs normal advance, “1”
programs trigger advance. Step with a “0” bit assigned to it will advance automatically to the next step. If
“1” is assigned to a step, the instrument will generate this step and its associated number of repeats
continuously and only a valid trigger signal will advance this step to the next step. Note that the <mode>
parameter has no affect when the sequence advance mode is set to SING.
To understand better the way the <mode> switch affects a sequence, consider the following sequence
setting:
SEQ:DEF 1,1,1,0
(Step 1 = segment 1, no loops, mode 0)
SEQ:DEF 2,2,1,1
(Step 2 = segment 2, no loops, mode 1)
SEQ:DEF 3,3,10,1
(Step 3 = segment 3, 10 loops, mode 1)
SEQ:DEF 4,4,1,0
(Step 4 = segment 4, no loops, mode 0)
After selecting the sequence mode, the generator will generate segment 1 and automatically advance to
segment 2. It will continue to generate segment 2 until a valid trigger is received. After it has received a
trigger, the generator will complete segment 2 and advance to segment 3. It will continue to generate and
loop segment 2 until a valid trigger is received. After it has received a trigger, the generator will complete 10
Remote Programming Reference 4-53