SCPI.SENSe(Ch).SEGMent.LIST.CONTrol.DATA

Object type

Property (Read-Write)

Syntax

SCPI.SENSe(Ch).SEGMent.LIST.CONTrol.DATA = Data

Data = SCPI.SENSe(Ch).SEGMent.LIST.CONTrol.DATA

Description

This command sets/gets the state of each segment in the segment sweep table for the selected channel (Ch).

Variable

Parameter

Data

Description

Indicates the state array data; where N is the number of segments and n is an integer between 1 and N.

Data = {<state1>,...  ,<state n>,.... ,<state N>}

Data type

Variant type (Variant)

Examples

Dim SegmData As Variant
Dim SegmContrData As Variant


SCPI.SENSe(1).SEGMent.DATA = Array(5,0,0,1,0,0,2, _
1E9,3E9,11,0,3E9,4E9,51,-10,4E9,6E9,11,10)
SegmData = SCPI.SENSe(1).SEGMent.DATA


SegmContrData = Array(1, 0, 0)
SCPI.SENSe(1).SEGMent.LIST.CONTrol.DATA = SegmContrData
SegmContrData = SCPI.SENSe(1).SEGMent.LIST.CONTrol.DATA

Related objects

SCPI.SENSe(Ch).SWEep.TYPE

SCPI.SENSe(Ch).SEGMent.DATA

Equivalent key

Sweep Setup > Edit Segment Table

Equivalent SCPI command

Syntax

:SENSe{[1]-160}:SEGMent:LIST:CONTrol:DATA <state 1>, <state n>, <state N>

:SENSe{[1]-160}:SEGMent:LIST:CONTrol:DATA?

Where N is the number of segments and n is an integer between 1 and N.

Query Response

{numeric 1},...,{numeric N}<newline><^END>

Example of use

10 DIM H(1:3)
20 OUTPUT 717;":SENS1:SEGM:DATA 5,0,1,0,0,0,3,";
30 OUTPUT 717;"1E9,3E9,11,70e3,";
40 OUTPUT 717;"3E9,4E9,51,7e3,";
50 OUTPUT 717;"4E9,6E9,11,70e3"
60 OUTPUT 717;":SENS1:SEGM:LIST:CONT:DATA 1, 0, 0"
70 OUTPUT 717;":SENS1:SEGM:LIST:CONT:DATA?"
80 ENTER 717;H(*)