SENSe:GCSetup Commands


Controls the Gain Compression configuration.

SENSe:GCSetup:

AMODe <char>

COMPression:

       | ALGorithm <char>

       | BACKoff:LEVel <num>

       | DELTa:X <num>

       | DELTa:Y <num>

       | INTerpolate

               | [:STATe]

       | LEVel <num>

       | SATuration:LEVel

EOSoperation <string>

PMAP

       | INPut?

       | OUTPut?

POWer:

       | LINear:INPut:LEVel <num>

       | REVerse:LEVel <num>

       | STARt:LEVel <num>

       | STOP:LEVel <num>

SAFE:

       | CPADjustment <num>

       | ENABle <bool>

       | FPADjustment <num>

       | FTHReshold <num>

       | MLIMit <num>

SFA?

SMARt:

       | CDC

       | MITerations <num>

       | SITerations <bool>

       | STIMe <num>

       | TOLerance <num>

SWEep:

       | FREQuency:POINts <num>

       | POWer:POINts <num>

Click on a keyword to view the command details.

See Also

Other Gain Compression commands

GCX


SENSe<ch>:GCSetup:AMODe <char>

Applicable Models: N522xB, N524xB, M9485A,E5080A

(Read-Write) Set and read the method by which gain compression data is acquired.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<char>

Choose from:

  • PFREQuency - 2D Power Per Frequency

  • FPOWer - 2D Frequency Per Power

  • SMARtsweep - Smart Sweep

Examples

SENS:GCS:AMOD SMAR

sense:gcsetup:amode pfrequency

Query Syntax

SENSe<ch>:GCSetup:AMODe ?

Return Type

Character

Default

SMARtsweep


SENSe<ch>:GCSetup:COMPression:ALGorithm <char>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the algorithm method used to compute gain compression.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<char>

Algorithm method. Choose from:

  • CFLG - compression from linear gain

  • CFMG - compression from maximum gain

  • BACKoff - compression from BackOff

  • XYCOM - X/Y Compression

  • SAT - compression from saturation

Examples

SENS:GCS:COMP:ALG BACK

sense:gcsetup:compression:algorithm XYcom

Query Syntax

SENSe<ch>:GCSetup:COMPression:ALGorithm?

Return Type

Character

Default

CFLG


SENSe<ch>:GCSetup:COMPression:BACKoff:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read value for the BackOff compression algorithm.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Backoff value in dB. Choose a value between 1 and 99.

Examples

SENS:GCS:COMP:BACK:LEV 10

sense:gcsetup:compression:backoff:level 5

Query Syntax

SENSe<ch>:GCSetup:COMPression:BACKoff:LEVel?

Return Type

Numeric

Default

10


SENSe<ch>:GCSetup:COMPression:DELTa:X <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the 'X" value in the delta X/Y compression algorithm.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

X value in dB. Choose a value from .01 to 10.

Examples

SENS:GCS:COMP:DELT:X 9

sense:gcsetup:compression:delta:X 8

Query Syntax

SENSe<ch>:GCSetup:COMPression:DELTa:X?

Return Type

Numeric

Default

10


SENSe<ch>:GCSetup:COMPression:DELTa:Y <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the 'Y" value in the delta X/Y compression algorithm.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Y value in dB. Choose a value from .01 to 10.

Examples

SENS:GCS:COMP:DELT:Y 9

sense:gcsetup:compression:delta:Y 8

Query Syntax

SENSe<ch>:GCSetup:COMPression:DELTa:Y?

Return Type

Numeric

Default

9


SENSe<ch>:GCSetup:COMPression:INTerpolate[:STATe] <bool>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Sets whether or not interpolation should be performed on 2D measured compression data. Applies ONLY to 2D acquisition modes.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<bool>

Choose from:

ON or (1)  Interpolate the results

OFF or (0)  Do NOT interpolate the results but return the value closest to compression.

Examples

SENS:GCS:COMP:INT 1

sense:gcsetup:compression:interpolate off

Query Syntax

SENSe<ch>:GCSetup:COMPression:INTerpolation?

Return Type

Boolean

Default

OFF


SENSe<ch>:GCSetup:COMPression:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the desired gain reduction (from reference gain).

This value is used for Compression from Linear Gain and Compression from Maximum Gain.

Use SENS:GCS:COMP:ALG CFLG to set this compression algorithm.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Compression level in dB.  Choose a value between .01 and 100.

Examples

SENS:GCS:COMP:LEV 1

sense:gcsetup:compression:level 3

Query Syntax

SENSe<ch>:GCSetup:COMPression:LEVel?

Return Type

Numeric

Default

1


SENSe<ch>:GCSetup:COMPression:SATuration:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the deviation dB from the maximum Pout. This is the point of saturation.

Use SENS:GCS:COMP:ALG CFLG to set this compression algorithm.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Saturation level in dB.  Choose a value between .01 and 10.

Examples

SENS:GCS:COMP:SAT:LEV 1

sense:gcsetup:compression:saturation:level 3

Query Syntax

SENSe<ch>:GCSetup:COMPressionSATuration:LEVel?

Return Type

Numeric

Default

.1 dB


SENSe<ch>:GCSetup:EOSoperation <char>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the This setting is used to protect a sensitive device from too much power during the sweep retrace. Other instrument settings or channels may over-ride this setting.  Learn more.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<char>

End Of Sweep operation. Choose from:

  • STANdard  Use the default VNA method.  Learn more.

  • POFF  Always turn power OFF while waiting.

  • PSTArt  Sweep Start power

  • PSTOp  Sweep Stop power.

Examples

SENS:GCS:EOS PSTA

sense:gcsetup:eosoperation standard

Query Syntax

SENSe<ch>:GCSetup:EOSoperation?

Return Type

Character

Default

STANdard


SENSe<ch>:GCSetup:PMAP <in>,<out>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Write-only) Set the DUT-to-VNA port mapping for the Gain Compression measurement.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<in>

VNA port which is connected to the DUT input.

<out>

VNA port which is connected to the DUT output.

Examples

SENS:GCS:PMAP 1,2

sense:gcsetup:pmap 2,1

Query Syntax

Not Applicable

Default

1,2


SENSe<ch>:GCSetup:PMAP:INPut?

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-only) Read the VNA port number to be connected to the DUT Input.

Use SENS:GCS:PORTMap to set the port mapping.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

Examples

SENS:GCS:PMAP:INP?

sense:gcsetup:pmap:input?

Return Type

Numeric

Default

1


SENSe<ch>:GCSetup:PMAP:OUTPut?

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-only) Read the VNA port number to be connected to the DUT Output.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

Examples

SENS:GCS:PMAP:OUTP?

sense:gcsetup:pmap:output?

Return Type

Numeric

Default

2


SENSe<ch>:GCSetup:POWer:LINear:INPut:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the input power at which Linear Gain and all S-parameters are measured.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Input power level in dBm. Choose a value from +30 to (-30).

Examples

SENS:GCS:POW:LIN:INP:LEV 0

sense:gcsetup:power:linear:input:level -10

Query Syntax

SENSe<ch>:GCSetup:POWer:LINear:INPut:LEVel?

Return Type

Numeric

Default

-25 dBm


SENSe<ch>:GCSetup:POWer:REVerse:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the reverse power level to the DUT. This is applied to the DUT output port when making reverse measurements like S22.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Reverse power level in dBm. Choose a value from +30 to (-30).

Examples

SENS:GCS:POW:REV:LEV 0

sense:gcsetup:power:reverse:level -5

Query Syntax

SENSe<ch>:GCSetup:POWer:REVerse:LEVel?

Return Type

Numeric

Default

-5


SENSe<ch>:GCSetup:POWer:STARt:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the start power level.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Start power level in dBm. Choose a value from +30 to (-30).

Examples

SENS:GCS:POW:STAR:LEV 0

sense:gcsetup:power:start:level -5

Query Syntax

SENSe<ch>:GCSetup:POWer:STARt:LEVel?

Return Type

Numeric

Default

-25


SENSe<ch>:GCSetup:POWer:STOP:LEVel <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the stop power level.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Stop power level in dBm. Choose a value from +30 to (-30).

Examples

SENS:GCS:POW:STOP:LEV 0

sense:gcsetup:power:stop:level -5

Query Syntax

SENSe<ch>:GCSetup:POWer:STOP:LEVel?

Return Type

Numeric

Default

-5


SENSe<ch>:GCSetup:SAFE:CPADjustment <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the Safe Sweep COARSE power adjustment.  Learn more.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Coarse power adjustment setting in dBm. Choose a value between 0 and 6.

Examples

SENS:GCS:SAFE:CPAD 2

sense:gcsetup:safe:cpadjustment 3.5

Query Syntax

SENSe<ch>:GCSetup:SAFE:CPADjustment?

Return Type

Numeric

Default

3.0


SENSe<ch>:GCSetup:SAFE:ENABle <bool>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the (ON | OFF) state of Safe Sweep mode.  Learn more

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

(Boolean) - Safe Sweep state. Choose from:

OFF (or 0) - Disable Safe Sweep

ON (or 1) - Enable Safe Sweep

Examples

SENS:GCS:SAFE:ENAB 0

sense:gcsetup:safe:enable 1

Query Syntax

SENSe<ch>:GCSetup:SAFE:ENABle?

Return Type

Boolean

Default

0


SENSe<ch>:GCSetup:SAFE:FPADjustment <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the Safe Sweep FINE power adjustment.  Learn more

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Fine power adjustment setting in dBm. Choose a value between 0 and 3.

Examples

SENS:GCS:SAFE:FPAD 2

sense:gcsetup:safe:fpadjustment .5

Query Syntax

SENSe<ch>:GCSetup:SAFE:FPADjustment?

Return Type

Numeric

Default

1.0 dBm


SENSe<ch>:GCSetup:SAFE:FTHReshold <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the compression level in which Safe Sweep changes from the COARSE power adjustment to the FINE power adjustment.  Learn more

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Threshold setting in dB. Choose a value between 0 and 3.

Examples

SENS:GCS:SAFE:FTHR .1

sense:gcsetup:safe:fthreshold .75

Query Syntax

SENSe<ch>:GCSetup:SAFE:FTHReshold?

Return Type

Numeric

Default

0.5 dB


SENSe<ch>:GCSetup:SAFE:MLimit <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) When the VNA port that is connected to the DUT Output measures this value, the input power to the DUT is no longer incremented at that frequency. Safe Mode must be enabled with SENS:GCS:SAFE:ENAB ON  Learn more

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Maximum power limit in dBm. Choose a value from -100 to +100

Examples

SENS:GCS:SAFE:MLIM 20

sense:gcsetup:safe:mlimit 30

Query Syntax

SENSe<ch>:GCSetup:SAFE:MLIMit?

Return Type

Numeric

Default

30


SENSe<ch>:GCSetup:SFAilures?

Applicable Models: N522xB, N524xB, M9485A; E5080A

(Read-only) Returns a comma-separated list of the frequency indexes that were out of tolerance for SMART Sweep mode, or at the power limit for 2D acquisition modes. Zero (0) is the first frequency data point.  

Must be Single triggered. Invalid results occur if the GCA channel is continuously sweeping.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

Examples

SENS:GCS:SFA?

sense:gcsetup:sfailures?

Return Type

Comma-separated list of frequency indexes.

Default

Not Applicable


SENSe<ch>:GCSetup:SMARt:CDC <bool>

Applicable Models: N522xB, N524xB, M9485A

(Read-Write) Set and read the DC readings at the compression point in the last iteration of a smart sweep. Taking only these DC readings improves measurement speed.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<bool>

Choose from:

ON or (1)  Enable reading DC value at compression point in the last iteration of a smart sweep.

OFF or (0)  Disable reading DC value at compression point in the last iteration of a smart sweep.

Examples

SENS:GCS:SMAR:CDC 1

sense:gcsetup:smart:cdc off

Query Syntax

SENSe<ch>:GCSetup:SMARt:CDC?

Return Type

Boolean

Default

OFF


SENSe<ch>:GCSetup:SMARt:MITerations <num>

Applicable Models: N522xB, N524xB, M9485A,E5080A

(Read-Write) Set and read the maximum permitted number of iterations which SMART Sweep may utilize to find the desired compression level, to within the specified tolerance.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Maximum number of iterations. Choose a value between 1 and 500

Examples

SENS:GCS:SMAR:MIT 5

sense:gcsetup:smart:miterations 3

Query Syntax

SENSe<ch>:GCSetup:SMARt:MITerations?

Return Type

Numeric

Default

20


SENSe<ch>:GCSetup:SMARt:SITerations <bool>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read enable for showing intermediate results for each iteration of SMART Sweep

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<bool>

Choose from:

ON or (1)  Compression traces are updated after each iteration.

OFF or (0)  Compression traces are updated after ALL iterations are complete.

Examples

SENS:GCS:SMAR:SIT 1

sense:gcsetup:smart:siterations off

Query Syntax

SENSe<ch>:GCSetup:SMARt:SITerations?

Return Type

Boolean

Default

OFF


SENSe<ch>:GCSetup:SMARt:STIMe <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the amount of time SMART Sweep will dwell at the first point where the input power changes by the Backoff or X level. Applies only to SMART Sweep when Backoff or XY compression methods are selected. Learn more.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Settling time in seconds. Choose any positive value.

Examples

SENS:GCS:SMAR:STIM 1

sense:gcsetup:smart:stime .1

Query Syntax

SENSe<ch>:GCSetup:SMARt:STIMe?

Return Type

Numeric

Default

0


SENSe<ch>:GCSetup:SMARt:TOLerance <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the acceptable range SMART Sweep will allow for the measured compression level.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Tolerance level in dBm. Choose a value between .01 and 10

Examples

SENS:GCS:SMAR:TOL .1

sense:gcsetup:smart:tolerance .05

Query Syntax

SENSe<ch>:GCSetup:SMARt:TOLerance?

Return Type

Numeric

Default

.05


SENSe<ch>:GCSetup:SWEep:FREQuency:POINts <num>

Applicable Models: N522xB, N524xB, M9485A,E5080A

(Read-Write) Set and read the number of data points in each frequency sweep.  Learn more

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Frequency points. Do not exceed the max number of data points.

See Data Points Limit

Examples

SENS:GCS:SWE:FREQ:POIN 201

sense:gcsetup:sweep:frequency:points 101

Query Syntax

SENSe<ch>:GCSetup:SWEep:FREQuency:POINts?

Return Type

Numeric

Default

201


SENSe<ch>:GCSetup:SWEep:POWer:POINts <num>

Applicable Models: N522xB, N524xB, M9485A, E5080A

(Read-Write) Set and read the number of data points in each power sweep. Applies ONLY to 2D acquisition modes.

Parameters

 

<ch>

Any existing GCA channel. If unspecified, value is set to 1.

<num>

Power points. Do not exceed the max number of data points.

See Data Points Limit

Examples

SENS:GCS:SWE:POW:POIN 50

sense:gcsetup:sweep:power:points 21

Query Syntax

SENSe<ch>:GCSetup:SWEep:POWer:POINts?

Return Type

Numeric

Default

21