beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 156

background image

Chapter Three

Control Reference

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Setup Parameter P1 to be the amplitude of C1
app.Measure.MeasureMode = "MyMeasure"
app.Measure.P1.ParamEngine = "Ampl"
app.Measure.P1.Source1 = "C1"
app.Measure.P1.View = True

Example

Sets/Queries whether PassFail testing is on.

Testing

Bool

Description

Sets/Queries whether the selected actions will be executed if the selected PassFail condition is met.

EnableActions

Bool

Description

Sets/Queries the logical criteria that must be met in a pass-fail test. For example, the condition
AnyTrue means that the pass-fail criterion is met if at least one of the test conditions results in a True
result.

PredefinedConditions

Enum

Description

Values

AllFalse

AllQ1ToQ4OrAllQ5ToQ8

AllTrue

AnyFalse

AnyQ1ToQ4AndAnyQ5T

AnyTrue

Sets/Queries whether a Pass condition or a Fail condition will initiate the pre-selected actions.

ActionOn

Enum

Description

Values

Fail

Pass

916435 RevA

3-89