13 txsleep instruction, Txsleep instruction, Delay_par – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 67: Delayns_pa, Txsleep inst

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
59
9.13 TxSleep Instruction
This instruction instructs the UWBTrainer transmitter to pause for a specified timeout before
sending a next frame in its Tx queue.
Note: This instruction does not delay script execution as the Sleep instruction does. It means that
the instruction following TxSleep will be processed without any delay. The TxSleep instruction is
a more precise “sleep” timer than Sleep instruction but it affects only frame scheduling in Tx
queue.
Format
TxSleep(
[
delay_microseconds, delay_nanoseconds
]
)
The instruction named parameter is:
Delay : Delay part in microseconds.
DelayNs: Delay part in nanoseconds.
Note: The total delay is calculated as Delay + DelayNs.
Example
Main
{
# Send some frame
Send
WM_FRAME
# Pause Tx queue for 10 microseconds.
TxSleep(
10
)
# Send the next frame.
Send
WM_FRAME
# Pause Tx queue for 10 microseconds + 100 ns.
TxSleep(
10
,
100
)
# Send the next frame.
Send
WM_FRAME
}