Write/Read

State Property


Description

Turns an Object ON and OFF.

 VB Syntax

object.State = value

Variable

(Type) - Description

object

Applies to any of the following objects:

FOM

Gating

InterfaceControl

LimitTest

Port Extension- Superseded. See either:

Segment

Transform

MeasurementEquation

FIFO

Notes:

  • LimitTest.State - If using Global Pass/Fail status, trigger the PNA AFTER turning Limit testing ON.

  • Segment.State - At least ONE segment must be ON or Sweep Type is automatically set to Linear.

value

(boolean) -

False - Turns obj OFF

True - Turns obj ON

Return Type

Boolean

Default

Depends on the object:

0 - FOM

0 - Gating

0 - InterfaceControl

0 - LimitTest

1 - Segment

0 - Transform

0 - Equation

0 - FIFO

Examples

Seg.State = 1 'Turns the segment object ON -Write

tran = Trans.State 'returns the state of Transform -Read

C++ Syntax

HRESULT get_State(VARIANT_BOOL *pVal)
HRESULT put_State(VARIANT_BOOL newVal)

Interface

ISegment

IInterfaceControl

ITransform

IGating

ILimitTest

IFOM

IMeasurementEquation

IEmbeddedLO

IFIFO


Last Modified:

1-Feb-2019

Changed IEquation to IMeasurementEquation

5-Nov-2012

Updated links to states

10-Oct-2008

Added FIFO

13-Apr-2007

Added EmbeddedLO