beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 65

background image

Teledyne LeCroy

PETrainer Scripting Language

60

Example:

...
Proc = Begin {

ProcName = “Procedure1”

}
...

Proc = End

; The following statement specifies that if Delimiter, Disparity
; or Symbol error occurs, then the code declared in “Procedure1”
; should be executed.

Branch = Error {

BranchName = “SomeErrorBranch”
ProcName = “Procedure1”
Errors = (Delimiter, Disparity, Symbol)

}
...

; Disable the branch “SomeErrorBranch” that is specified above.

Branch = Disable {

BranchName = “SomeErrorBranch”

}
...