:SENS<Ch>:SEGM:DATA

Type

Command/Query

Syntax

:SENSe<Ch>:SEGMent:DATA <Value>

:SENSe<Ch>:SEGMent:DATA?

Description

This command sets/gets the list for segment sweep.

Variable

Parameter

Value

Description

Segment Table Setup

Indicates the array data arranged in the following order (for the segment sweep table); where N is the number of segments (specified with <segm>) and n is an integer between 1 and N.

Data = {<buf>,<stim mode>,<list OSC level on/off>,<list bias on/off>,<list average on/off>, <list segment time on/off>, <list delay time on/off>,<segm>, <star 1>,<stop 1>,<poin>,[OSC Level type 1],[OSC Level 1],[Bias type 1],[Bias Level 1],[averaging factor 1],[segment time 1],[delay time 1], ... ,[OSC Level type N],[OSC Level N],[Bias type N],[Bias Level N],[averaging factor N],[segment time N],[delay time N] }

Each parameter in the above array data is detailed below:

<buf>: Always specify 6.

<stim mode>: Stimulus setting mode

 0: Specifies with start/stop values

 1: Specifies with center/span values

<list OSC level on/off>: ON/OFF of the list OSC level  fo each segment

0: OFF, 1: ON

<list bias on/off>: ON/OFF of the list bias for each segment

 0: OFF, 1: ON

<list average on/off>: ON/OFF of the average for each segment

 0: OFF, 1: ON

<segment time on/off>: ON/OFF of the segment time setting for each segment

 0: OFF, 1: ON

<delay time on/off>: ON/OFF of the delay time setting for each segment

 0: OFF, 1: ON

<segm>: Number of segments. Specify an integer ranging 1 to 201.

 

 

<star n>: Start value/center value of the n-th segment

<stop n>: Stop value/span value of the n-th segment

<poin n>: number of measurement point of the n-th segment.

[OSC Level type n]: OSC level type: Voltage=0, Current=1. This is not necessary when <list OSC level on/off>=0.

[OSC Level n]: OSC level of the n-th segment. This is not necessary when <list OSC level on/off>=0.
[Bias type n]: DC Bias type: Voltage=0, Current=1. This is not necessary when <list Bias on/off>=0.

[Bias Level n]: DC Bias level of the n-th segment. This is not necessary when <list Bias on/off>=0.

[averaging factor n]: averaging factor of the n-th segment. This is not necessary when<list average on/off>=0.

[segment time n]: segment time of the n-th segment. This is not necessary when<segment time on/off>=0.

[delay time n]: delay time of the n-th segment. This is not necessary when<delay time on/off>=0.

 

If the necessary amount of array data for the specified number of segments is not available while setting the segment sweep table, an error occurs when its executed and the object is ignored.

 

Data Type

Variant type Array (Range)

Preset Value

6,0,0,0,0,0,0,1,1e6,1e6,2

Query Response

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

Examples

Dim Var as String
riantAna.WriteString ":SENS1:SEGM:DATA 6, 0, 1, 0, 1, 0, 0, 2, 1E6, 2E6, 10, 0, 5E-3, 1, 3E6, 5E6, 20, 1 , 2E-3, 5, 10", True
Ana.WriteString ":SENS1:SEGM:DATA?", True

Var=Ana.ReadString

 

 

Start

Stop

Points

OSC Mode

OSC Level

Point Avg

1

1 MHz

2 MHz

10

Volt

5 mV

1

2

3 MHz

5 MHz

20

Curr

2 mA

10

Related Commands

:SENS:SWE:TYPE

:SENS:SEGM:SWE:POIN

Equivalent Softkey

Sweep Setup > Edit Segment Table

COM Command Syntax (Internal Control Only)

SCPI.SENSE(Ch).SEGMENT.DATA