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

Equation

FIFO

Notes:

  • LimitTest.State - If using Global Pass/Fail status, trigger the VNA 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

IEquation

IEmbeddedLO

IFIFO