Write/Read
About Limits

Type (limit) Property


Description

Specifies the Limit Line type.

 VB Syntax

limt(index).Type = value

Variable

(Type) - Description

limt

A LimitSegment (object)

index

(variant) - Limit line number in the LimitTest collection

value

(enum NALimitSegmentType) - Limit Line type. Choose from:
0 - naLimitSegmentType_OFF
- turns limit line OFF
1 - naLimitSegmentType_Maximum
- limit line fails with a data point ABOVE the line
2 - naLimitSegmentType_Minimum
- limit line fails with a data point BELOW the line

Return Type

Long Integer

Default

0 - OFF

Examples

Set limts = meas.LimitTest
limts.Type = naLimitSegmentType_Maximum 'Write

limitType = limts.Type 'Read

C++ Syntax

HRESULT put_Type(tagNALimitSegmentType *pVal)
HRESULT get_Type(tagNALimitSegmentType newVal)

Interface

ILimitSegment