beautypg.com

Count_para, Name_para, Regrxfrmcondition – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 53

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

45

Format in Short Form

RegRxFrmCondition ( condition_name,

[

auto_reset

]

,

[

counter

]

,

[

Time variable index

]

)

[

{
Mask/Match pattern or frame variable

Additional condition parameters

}

]

This registers the Rx Frame (header + payload) condition so that the options are automatically
reset when the condition is hit. It is triggered only if it occurs the number of times specified by the
counter parameter.

Note

3

: If no Mask/Match pattern is specified, the system uses any Rx frame.

The instruction named parameters are:

Name: Condition name.
AutoReset: Specifies that the condition is automatically reset after it is triggered.
Count: Specifies the number of times the condition event occurs before the condition is
triggered.
TimeVar: Specifies the index of the Time variable in which to keep the condition
timestamp when it is triggered. Values can range from 0 to 255.
No value indicates that this parameter is ignored.


By default, AutoReset is OFF, Count = 1, and TimeVar = UNDEFINED (timestamp is not
saved).

Note

4

: If mask/match size is less or equal to the size of PHY-MAC header then condition-

matching check is performed considerably faster.

Note

5

: You may declare local fields for frame templates and variable masking/matching. See

section “Using Local Fields in Send Frame Instructions” section for more details.