SCPI.SENSe(Ch).SEGMent.LIST.POWer.PORT(Pt).LEVel.IMMediate.AMPLitude

Object Type

Property (Read-Write)

Syntax

SCPI.SENSe(Ch).SEGMent.LIST.POWer.PORT(Pt).LEVel.IMMediate.AMPLitude = Data

Data= SCPI.SENSe(Ch).SEGMent.LIST.POWer.PORT(Pt).LEVel.IMMediate.AMPLitude

Description

This command sets/gets the power level of each segment for the selected port (Pt) and channel (Ch).

Variable

Parameter

Data

Description

Sets/gets the port power level of each segment

Data type

Variant type (Variant)

 

Example of use

Dim SegmData As Variant
SCPI.SENSe(1).SEGMent.DATA = Array(6,0,1,0,0,1,0,2, _
100E6,2E9,31,70E3,2,2E9,3E9,101,300E3,3)
SegmData = SCPI.SENSe(1).SEGMent.DATA

Dim AmpVal1 As Variant
Dim AmpVal2 As Variant
AmpVal1 = Array(-10, 0)
AmpVal2 = Array(10, 20)
SCPI.SENSe(1).SEGMent.LIST.POWer.PORT(1).LEVel.IMMediate.AMPLitude = AmpVal1
SCPI.SENSe(1).SEGMent.LIST.POWer.PORT(2).LEVel.IMMediate.AMPLitude = AmpVal2
AmpVal1 = SCPI.SENSe(1).SEGMent.LIST.POWer.PORT(1).LEVel.IMMediate.AMPLitude
AmpVal2 = SCPI.SENSe(1).SEGMent.LIST.POWer.PORT(2).LEVel.IMMediate.AMPLitude

Related objects

SCPI.SENSe(Ch).SEGMent.DATA

SCPI.SENSe(Ch).SEGMent.LIST.POWer.PORT.STATe

Equivalent key

Sweep Setup > Edit Segment Table > List Port Power

Equivalent SCPI command

Syntax

:SENSe{[1]-160}:SEGMent:LIST:POWer:PORT{[1]-2}[:LEVel][:IMMediate][:AMPLitude] <value1>,<value2>,...,<value N>

:SENSe{[1]-160}:SEGMent:LIST:POWer:PORT{[1]-2}[:LEVel][:IMMediate][:AMPLitude]?

Query response

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

Example of use

10 DIM H(1:2,1:5)
20 OUTPUT 717;":SENS1:SEGM:DATA 6,0,1,0,0,1,0,2,";
30 OUTPUT 717;"100E6,2E9,31,70e3,2,";
40 OUTPUT 717;"2E9,3E9,101,300e3,3"
50 OUTPUT 717;":SENS1:SEGM:DATA?"
60 ENTER 717;A,B,C,D,E,F,G,H(*)

10 DIM A(2)
20 DIM B(2)
30 OUTPUT 717;":SENS1:SEGMent:LIST:POWer:PORT1 -10, 0"
40 OUTPUT 717;":SENS1:SEGMent:LIST:POWer:PORT2 10, 20"
50 OUTPUT 717;":SENS1:SEGMent:LIST:POWer:PORT1?"
60 ENTER 717,A(*)
70 OUTPUT 717;":SENS1:SEGMent:LIST:POWer:PORT2?"
80 ENTER 717;B(*)