:SENS<Ch>:SEGM:DATA

Type

Command/Query

Syntax

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

:SENSe<Ch>:SEGMent:DATA?

Description

This command sets/gets the segment data for segment sweep.

Variable

Parameter

Value

Description

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>,<ifbw>,<pow>,<del>,<time>,<segm>, <star 1>,<stop 1>,<nop 1>,<ifbw 1>,<pow 1>,<del 1>,<time 1>,...  , <star n>,<stop n>,<nop n>,<ifbw n>,<pow n>,<del n>,<time n>,.... , <star N>,<stop N>,<nop N>,<ifbw N>,<pow N>,<del N>,<time N>}

Each parameter in the above array data is detailed below:

  • <buf>: Always specify 5.

  • <stim>: Stimulus setting mode

    •  0: Specifies with start/stop values

    •  1: Specifies with center/span values

  • <ifbw>: ON/OFF of the IF bandwidth setting for each segment

    • 0: OFF, 1: ON

  • <pow>: ON/OFF of the power setting for each segment

    •  0: OFF, 1: ON

  • <del>: ON/OFF of the sweep delay time setting for each segment

    •  0: OFF, 1: ON

  • <time>: ON/OFF of the sweep 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

  • <nop n>: Number of measurement points of the n-th segment

  • <ifbw n>: IF bandwidth of the n-th segment is not necessary when the IF bandwidth setting for each segment is OFF (<ifbw>:0).

  • <pow n>: Power of the n-th segment is not necessary when the power setting for each segment is OFF (<pow>:0).

  • <del n>: Sweep delay time of the n-th segment is not necessary when the sweep delay time setting for each segment is OFF (<del>:0).

  • <time n>: Sweep time of the n-th segment is not necessary when the sweep time setting for each segment is OFF (<time>: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.

      • For <stim>, <ifbw>, <pow>, <del>, and <time>, if the specified value is not the allowable integer, an error occurs when its executed.

      • For <star n>, <stop n>, <nop n>, <ifbw n>, <pow n>, <del n>, and <time n> in the array data, if the specified value is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set

Data Type

Variant type Array (Range)

Preset Value

5,0,0,0,0,0,1,100e3,100e3,2

Query Response

<buf>,<stim>,<ifbw>,<pow>,<del>,<time>,<segm>, <star 1>,<stop 1>,<nop 1>,<ifbw 1>,<pow 1>,<del 1>,<time 1>,...  , <star n>,<stop n>,<nop n>,<ifbw n>,<pow n>,<del n>,<time n>,.... , <star N>,<stop N>,<nop N>,<ifbw N>,<pow N>,<del N>,<time N><newline><^END>

Examples

Dim SegData as String

SegData = "5,0,0,0,0,0,3,0.25e6,200.25e6,401,201.25e6,801.25e6,401,810e6,3e9,201"

Ena.WriteString ":SENS1:SEGM:DATA " & SegData, True

 

See Analyzer Setup and Reading/Writing Error Coefficient.

Related Commands

:SENS:SWE:TYPE

Equivalent Softkey

Sweep Setup > Edit Segment Table

COM Command Syntax (Internal Control Only)

SCPI.SENSE(Ch).SEGMENT.DATA