50 Keysight M8070A Programming Guide
2 Recommended Programming Techniques
Triggering Based on Specific Bit Sequence
The following is an example of a trigger pulse generated based on a
specific PRBS bit sequence:
<trigger>
<pulseOnPrbsMatch width="32" matchPattern="0000000"
polynomial="2^7-1" seed="127" invert="0"/>
</trigger>
All attributes can be omitted. The width defaults to 32. The match pattern
defaults to all 0’s or all 1’s depending on the invert attribute. The
polynomial defaults to the polynomial used by the generators or analyzers.
Invert also defaults to the PRBS invert setting of the generators or
analyzers.
Block Branching
Within a block a conditional branch to another block can be done. The
most simple form is as follows:
<if source="Break"</if>
This example simply jumps to the next block when a break command is
done. The following describes how to set up a break command.
1 In the M8070A software interface, select Patterns > Sequence Editor.
2Under the Block Branches settings, change Cond ition to Break.
Refer to :DATA:SEQuence:BREak on page 484 for information on setting
the break command using this SCPI command.
When a branch to a different block is desired, use the “goto” attribute:
1 In the M8070A software interface, select Patterns > Sequence Editor.
2Under the Block Branches settings, click in the Go To Block field and
enter the block name.
Other potential conditions are SysInA, SysInB, CtrlInA, or CtrlInB. Break,
SysInA and SysInB are global events and affect all locations of a sequence.
CtrlInA and CtrlInB are local to a module and are most suitable when all
locations of a sequence are using a single module.