beautypg.com

9 reset condition instruction, Reset condition instruction, Conditionreset – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 62: Resetcondition in

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

54

9.9 Reset Condition Instruction

You can reset the conditions registered as non auto-reset and change its state from "triggered" to
"charged".

Format

ConditionReset( condition_name )

or

ResetCondition( condition_name )

The instruction named parameter is:

Name: Condition name.

Example

Main

{

RegRxFrmCondition ( HDR_COND )

{

# Header Mask/Match

PLCP

{

DestAddr =

0xAABB

SrcAddr =

0xBEEF

}

}

Wait( HDR_COND )

# Wait for condition to be triggered.

# Do something.

ResetCondition( HDR_COND )

# Reset condition after it is triggered.

Wait( HDR_COND )

# Again wait for condition to be triggered

.

}