
Keysight M8070A Programming Guide
47
Recommended Programming Techniques
2
Blocks and Loops
The basic building blocks of a sequence are blocks and loops.
A block is the basic unit of a sequence. Here patterns are assigned to
locations or branches and are specified to other blocks. A block transitions
to the next as a default action. But it also might be enclosed in a loop.
Nested loops are also possible. There are three counted loop levels plus an
infinite loop level:
• Loop level 1 can be used to repeat a block.
• Loop level 2 and 3 can span multiple blocks, but it must be ensured
that either the start or end of a loop is on a fresh block.
• Loop level 4 is for infinite loops.
The following illustrates valid loop nesting with the full 4 loop levels:
Figure 18
Loop nesting
Count attribute specifies the number of loop iterations. The valid value
range is 1 to 2
32
. If omitted, infinite is assumed. The enabled attribute
allows the complete loop, including all loop content, to be temporarily
disabled. If omitted, the default is enabled.
<
loop
count
="1"
enabled
="1"></
loop
>