SetTestMax Procedure

Modifies the value of the upper limit (MAX) allowed for the current MIN-MAX Test.

Syntax

SetTestMax ( dMax )

The SetTestMax procedure syntax has the following parts:

 

Name

Type

Description

dMax

Val Double

New upper limit data

Comments

The MAX value is defined in the Task/Test Property page. The function temporarily changes this value at run time.

The Max value can be accessed/set via the internal variable Test and its property Max as in Test.Max.

Example

The following example offsets the Test upper limit according to a measurement taken.

dMax = GetTestMax( )

Measure System DMM J1-11 (TestResult)

dx = dMax + TestResult

SetTestMax(dx)

See Also

AVarTestResult, GetTestMax, GetTestMin, SetTestMin