beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 60

background image

Teledyne LeCroy

PETrainer Scripting Language

55

Example 3:

The following example can be executed only on PETrainer EML.

This command waits for a TLP with a data payload that matches the following criteria:

1) The 3

rd

DWORD’s upper-most word must have 0xABCD.

2) The 9

th

DWORD’s lowest word must have 0x1234.

3) The 10

th

DWORD’s upper-most byte must have 0x56.

Script execution continues when a TLP with specified payload is received or after the 1024 ns timeout
expires.


Wait = Payload {

Data@2 = ( 0xABCDXXXX )
Data@8 = ( 0xXXXX1234, 0x56XXXXXX )
Timeout = 1024

}