beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 56

background image

Teledyne LeCroy

PETrainer Scripting Language

51

Wait = DLLP

This command waits for a DLLP that matches the defined condition. All parameters from Packet = DLLP
command (see Page 19) are valid, except the CRC field.

DLLP fields can be masked using the following format:

0x0XAXX

For hexadecimal values

0b0001XX

For binary values



Example 1:

This command waits for Ack DLLP.
The execution continues when Ack DLLP is received or after the 256 ns timeout expires.


Wait = DLLP {

DLLPType = Ack

Timeout = 256

}


Example 2:

This command waits for a Vendor DLLP with the Least Significant Bit of the vendor specific data set.
The execution continues when such DLLP is received or after the 256 ns timeout expires.


Wait = DLLP {

DLLPType = Vendor
VendorSpecific = "0bXXXXXXXXXXXXXXXXXXXXXXX1"

Timeout = 256

}