Publication No. 980935 Rev. A
3152B User Manual
EADS North America Test and Services
Programming Reference 5-69
SEQuence:DEFine <step>,<seg_#>,<repeat>,<adv_mode>,<sync_bit>(?)
HS Syntax: 13103<integer,long,long,0|1,0|1>
Description
This command builds a step in a sequence table. It defines all of the parameters that are associated with the
sequence step such as segment number, link, loop, advance mode, and sync mode.
Parameters
Name
Range
Type
Description
<step>
1 to 4096
Numeric (integer
only)
Programs the step in the sequence table. Steps are indexed
from 1 to 4096 and must be programmed in an ascending
order. Empty step locations in a sequence table are not
permitted.
<seg_#>
1 to 10k
Numeric (integer
only)
Assigns a segment to a specific step number. When
encountered in the sequence table, the segment number
that is associated with the step will be generated.
<repeat>
1 to 1M
Numeric integer
only)
Programs the number of repeat loops that a specific step
will play before advancing to the next step in a sequence.
<adv_mode>
0-1
Boolean
This parameter is not compatible with legacy 3152A code.
For 3152B programming only, a “0” programs automatic
advance and a “1” programs a triggered advance. Steps
with a “0” bit assigned to them advance automatically to the
next step. If a “1” is assigned to a step, the instrument
generates this step continuously and only a valid trigger
signal causes the sequence to advance to the next step.
<sync_bit>
0-1
Boolean
This parameter is not compatible with legacy 3152A code.
For 3152B programming only, a “1” programs the sync bit
present at a specific sequence step. This feature is useful
for applications requiring multiple sync bits in a single
sequence. Note that the normal sync output source during
sequence mode is LCOM.
NOTE
Although trigger signals are used to advance mixed mode, mixed mode operates in
continuous mode only. The <mode> parameter will be ignored if you use TRIG as
advance mode for the sequence table.
TIP
Every time you use the SEQ:DEF command while the 3152B is in sequenced
operating mode, the instrument attempts to rebuild the sequence table and restart
the sequence. Therefore, sending this command in sequenced mode slows down
execution of test programs. Using the SEQ:DEF command while in FIX or USER
mode decreases execution time.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com