Write/Read
About Mixer/Converter Settings

SegmentState Property


Description

Sets and returns the ON|OFF state of a sweep segment. Off segments are not included is a segment sweep.

Send Apply before sending a query (read). Learn more.

 VB Syntax

conv.SegmentState(index) =state

Variable

(Type) - Description

conv

A Converter Object

index

(Long integer) Segment to set ON or OFF. Choose a segment between 1 and the current segment count. Use SegmentCount Property to read the current count in the Applied Mixer.

state

(Boolean) - Choose from:

True - Segment ON

False - Segment OFF

Return Type

Boolean

Default

ON when added.

Examples

mxr.SegmentState(1)=False 'Turns segment 1 OFF.

See example program

C++ Syntax

HRESULT get_SegmentState(long index, VARIANT_BOOL * val);

HRESULT put_SegmentState(long index, VARIANT_BOOL val);

Interface

IConverter5