beautypg.com

8 branch command, 1 branch =

Page 64: Branch =

background image

Teledyne LeCroy

PETrainer Scripting Language

59

8 Branch Command


This command enables/disables the branch procedure for the condition specified.

8.1 Branch =


This command enables the branch procedure for the condition specified. The conditions are the same as
in the Wait command (see Page 28), except User. The parameter list is the same as the Wait command,
except for the Timeout, Display, and Count parameters.

The following lists the additional parameters for the Branch = command:

Parameter

Values

Default

Comment

BranchName

Any string literal

Name of the branch.
Must be specified if this branch is to be disabled later.

ProcName

Any string literal

Name of the procedure to execute when branch
conditions are met.

RunConcurrently Yes

No

No

Applicable only to the Summit Z2-16 and Summit Z3-
16 Trainers.
If the value is Yes, the Summit Z2-16 and Summit Z3-
16 Firmware run the branch procedure concurrently
with the main script procedure and other concurrent
branches, as a separate task within the Summit Z2-16
and Summit Z3-16 Firmware.


ProcName parameter is mandatory.

BranchName parameter could be omitted if you do not plan to disable the branch later in the script.

The procedure that handles the branch condition must be defined before the Branch =
command (see Page 35).

Note: Branch=FastTransmitIdle is supported only for the Summit Z2-16 and Summit Z3-16 Trainers.