Hi Tim,
I noticed that the example I posted is not exactly what you were trying to do. I posted a nested repeat <N> inside a repeat forever. I must add then the note at the end of this same document I refer to:
Note You can nest
repeat <N> and
repeat
until instructions, one level deep, inside a
repeat
forever instruction. The if/else/end if instruction is allowed inside a
repeat forever instruction, but
if/else/end if is not allowed inside of
repeat <N> and
repeat until instructions. Other nesting (for
example,
repeat <N> inside another
repeat <N>) is
not allowed.
This means that the exact script you wrote as example is not allowed.
Let us know if you have other questions,
Gerardo O.
RF SW Engineering R&D
National Instruments