GetTestMin Procedure

Returns the value of the lower limit (MIN) allowed for the current MIN-MAX Test.

Syntax

[ dLimit = ] GetTestMin ( )

The GetTestMin procedure syntax has the following parts:

 

Name

Type

Description

dLimit

Double

Current Test minimum

Comments

The MIN value is defined in the Task/Test Property page.

The function returns 0 if the current Test type is not MIN-MAX or TOLERANCE or PRECISE.

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

Example

! Set new MIN\MAX according to fOffset Variable

SetTestMin(fOffset+GetTestMin())

SetTestMax(fOffset+GetTestMax())

See Also

ATest, ATestMax, ATestMin, GetTestMax, SetTestMax, SetTestMin