beautypg.com

12 wait for the next superframe instruction, Wait for the next superframe instruction, Waitfornextsuperframe instruction – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 66

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

58

9.12 Wait for the Next SuperFrame Instruction

This instruction instructs UWBTrainer to wait until the beginning of the next superframe(s) before
processing the next instruction.

Note: This instruction does not delay script execution. It instructs the UWBTrainer transmitter to
wait for the specified number of superframes before sending frames in its Tx queue. It means that
the instruction following WaitForNextSuperFrame will be processed without any delay.

Format

WaitForNextSuperFrame(

[

number_of_superframes

]

)

The instruction named parameter is:

SFCount: Number of super frames to skip.
If this parameter is set to 0 (the default), UWBTrainer waits for the next
superframe.

By default, SFCount is 0.

Example

Main

{

# Wait for the next superframe.

WaitForNextSuperFrame()

# Send the frame 10 microseconds after the beginning of

# the superframe.

Send

WM_FRAME( Delay =

10

)

# Wait for the next superframe, then skip 3 superframes.

WaitForNextSuperFrame(

3

)

Send

WM_FRAME

}