beautypg.com

9 txsleep instruction, Txsleep instruction, Delay – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 88: Txsleep

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

79

9.9 TxSleep Instruction

This instruction instructs the Voyager USB 3.0 Exerciser transmitter to pause for a specified
timeout before sending the next packet in its Tx queue.

Note: This instruction does not delay script execution. The instruction following TxSleep is
processed without any delay. The TxSleep instruction affects only packet scheduling in the
Tx queue. It has the same meaning as the Delay parameter in the Send Packet instruction.

Format

TxSleep(

delay_nanoseconds )

The instruction named parameter is:
o Delay: Delay in nanoseconds.

Example

Main

{

# Pause the Tx queue for 10 microseconds.

TxSleep(

10000

)

# Send the next packet.

Send

TX_PACKET

# Send the next packet with a 10 microsecond delay.

Send

TX_PACKET(

10000

)

}