System Commands


Controls and queries settings that affect the analyzer system.

SYSTem:

ABORt:THReshold

ACTive

       | CHANnel

       | MARKer

       | MCLass

       | MEASurement

                | NUMBer?

       | PORT

                | SOURce?

                | TEST?

       | SHEet?

       | TRACe?

       | WINDow

BEEPer

       | COMPlete:IMMediate

       | STATe

       | VOLume

       | WARNing:IMMediate

CAPability More commands

CHANnels

       | CATalog?

       | DELete

       | HOLD

       | RESume

CLOCk[:STATe]

COMMunicate   More commands

CONFigure

       | DIRectory

       | REVision

   | CPU?

DATA

       | MEMory

   | Add

   | CATalog?

   | CLOSe

                 | FILE

   | COMMit

                 | FILE

   | DELete

   | INITialize

   | NAME?

   | OFFSet?

   | REPeat

                 | RESet

   | RESet

   | SIZE

DATE?

DC

     | DEFalut

            | OUTPut

                   | STATe

                   | VOLTage

            | LNOise

     | ENABle

DISK:REVision?

ERRor?

       | COUNt?

       | REPort

   | SUNLeveled

FPReset

LOCal

MACRO:COPY

       | CHANnel[:TO]

    | SOURce

         | CHANnel

                | STATe

MCLass

       | CATalog?

       | PARameter:CATalog?

MEASure

       | CATalog?

       | NAME?

       | TRACe?

       | WINDow?

PERSona

       | MANufacturer

               | DEFault

       | MODel

               | DEFault

POFF

POWer:

      | LIMit

    | LOCK

    | STATe

PREFerences More commands

PRESet

SECurity

       | [LEVel]

SEVice:MANagement:CALibation:INFormation

SET

SHEets:CATalog?

SHORtcut

       | ARGuments

       | DELete

       | EXECute

       | PATH

       | TITLe

TIME?

TOUChscreen[:STATe]

UPReset

       | FPANel[:STATe]

       | LOAD[:FILE]

       | SAVE[:STATe]

WINDows

       | CATalog?

Click on a red keyword to view the command details.

See Also


SYSTem:ABORt:THReshold <value>

Applicable Models: All

(Read-Write) When an analyzer setting is made while a sweep is in progress, the sweep is immediately aborted by default. This command allows you to change that behavior by specifying a time threshold. When a setting change is made during a sweep and if the total sweep time is less than the threshold time, then the sweep is allowed to finish instead of immediately aborting.

In general, analyzer setting changes that could cause an aborted sweep are changes that affect how a measurement is made, such as changes in stimulus conditions.

For example, with a threshold setting of 60 seconds:

  • Sweeps that require 60 seconds or less from start to finish will be allowed to complete if a analyzer setting change is made at any time during the sweep.

  • Sweeps that require MORE than 60 seconds from start to finish will be immediately aborted when a analyzer setting change is made at any time during the sweep.

Notes:

  • Preset clears this setting.

  • Save state saves this setting.

  • Sweep times are estimated.

  • This setting affects ALL channels.

Parameters

 

<value>

Threshold time in seconds. Set to 0 to immediately abort a sweep when a analyzer setting is made.

Examples

SYST:ABOR:THR 10

'When a setting is made during a sweep, if that sweep requires less than 10 seconds more to complete, it will be allowed to finish instead of aborting.

Query Syntax

SYSTem:ABORt:THReshold?

Default

0 - No threshold time; all sweeps are immediately aborted.


SYSTem:ACTive:CHANnel?

Applicable Models: All

(Read-only) Returns the number of the active channel. The active channel is the channel number that contains the active measurement. The active measurement is the trace that has a highlighted Tr# in the Trace Status area.

If there is no active channel, 0 is returned.

Examples

SYST:PRES

SYST:ACT:CHAN?

'Returns 1

Return Type

Integer

Default

Not Applicable


SYSTem:ACTive:MARKer <mkr>

Applicable Models: All

(Read-Write) Sets and reads the active marker

Parameters

 

<mkr>

Active marker.

Examples

SYST:ACT:MARK 1

Return Type

Integer

Query Syntax

SYSTem:ACTive:MARKer?

Default

1


SYSTem:ACTive:MCLass <string>

Applicable Models: All

(Read-Write) Sets and reads the active measurement class.

Parameters

 

<string>

Active measurement class.

Examples

SYST:ACT:MCL "Standard"

Return Type

String

Query Syntax

SYSTem:ACTive:MCLass?

Default

Standard


SYSTem:ACTive:MEASurement?

Applicable Models: All

(Read-only) Returns the name of the active measurement. While looking at the analyzer display, the active measurement is the trace that has a highlighted Tr#  in the Trace Status area. Only displayed measurements can be active.

If there is no active measurement, " " (empty string) is returned.

Examples

SYST:PRES
SYST:ACT:MEAS?

'Returns "CH1_S11_1"

Return Type

String

Default

Not Applicable


SYSTem:ACTive:MEASurement:NUMBer? <mnum>

Applicable Models: All

(Read-only) Returns the active measurement number.

Parameters

 

<mnum>

Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1.

Examples

SYST:PRES
SYST:ACT:MEAS:NUMB?

Return Type

Integer

Default

1


SYSTem:ACTive:PORT <num>

Applicable Models: All

(Read-Write) Sets or gets the active port number.

Parameters

 

<num>

The active port number.

Examples

SYST:ACT:PORT 1

Return Type

Integer

Query Syntax

SYSTem:ACTive:PORT?

Default

1


SYSTem:ACTive:PORT:SOURce?

Applicable Models: All

(Read-only) Gets the active source port number.

Parameters

 

Examples

SYST:ACT:PORT:SOURce?

Return Type

Integer

Default

1


SYSTem:ACTive:PORT:TEST?

Applicable Models: All

(Read-only) Gets the active test port number.

Parameters

 

Examples

SYST:ACT:PORT:TEST?

Return Type

Integer

Default

1


SYSTem:ACTive:SHEet?

Applicable Models: E5080A

(Read-only) Returns the active sheet number.

Examples

SYST:ACT:SHE?

'Returns "1"

Return Type

String

Default

1


SYSTem:ACTive:TRACe?

Applicable Models: All

(Read-only) Returns the active trace number.

Examples

SYST:ACT:TRAC?

'Returns "1"

Return Type

String

Default

1


SYSTem:ACTive:WINDow <wnum>

Applicable Models: All

(Read-Write) Sets or gets the active window number.

Parameters

 

<wnum>

The active window number.

Examples

SYST:ACT:WIND 1

Return Type

Integer

Query Syntax

SYSTem:ACTive:WINDow?

Default

1


SYSTem:BEEPer:COMPlete:IMMediate

Applicable Models: All

(Write-only)  This command generates a beep for the notification of the completion of an operation.

Parameters

None

Examples

SYST:BEEP:COMP:IMM

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:BEEPer:STATe <num>

Applicable Models: All

(Read-Write) Sets the beeper on or off.

Parameters

 

<bool>

ON (1) or OFF (0).

Examples

SYST:BEEP:STAT 1

Query Syntax

SYSTem:BEEPer:STAT?

Default

0


SYSTem:BEEPer:VOLume <num>

Applicable Models: N522xB, N523xB, N524xB, M937xA, M9485A, P937xA

(Read-Write) Sets and reads the volume of the internal speaker.

Parameters

 

<num>

Relative volume of the internal speaker.

Choose a volume between 0 (off) and 100.

Examples

SYST:BEEP:VOL 5

system:beeper:volume

Query Syntax

SYSTem:BEEPer:VOLume?

Default

0


SYSTem:BEEPer:WARNing:IMMediate

Applicable Models: All

(Write-only)  This command generates a beep for the notification of warning/limit test results.

Parameters

None

Examples

SYST:BEEP:WARN:IMM

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:CHANnels:CATalog?

Applicable Models: All

(Read-only) Returns the channel numbers currently in use.

Examples

SYST:CHAN:CAT?

system:channels:catalog?

'Returns:

"1,2,3"

Return Type

String of comma-separated numbers

Default

Not Applicable



SYSTem:CHANnels:DELete <value>

Applicable Models: All

(Write-only)  Deletes the specified channel.

Parameters

 

<value>

Channel number to delete

Examples

SYST:CHAN:DEL 2

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:CHANnels:HOLD

Applicable Models: All

(Write-only)  Places all channels in hold mode. To place a single channel in hold mode, use SENS:SWE:MODE.

Examples

SYST:CHAN:HOLD

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:CHANnels:RESume

Applicable Models: All

(Write-only)  Resumes the trigger mode of all channels that was in effect before sending SYSTem:CHANnels:HOLD (must be sent before SYST:CHAN:RESume).

Examples

SYST:CHAN:RES

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:CLOCk[:STATe] <bool>

Applicable Models: All

(Read-Write) Sets and reads the clock visibility state in the analyzer status bar.

Parameters

 

<bool>

ON (or 1)  Clock is visible in the analyzer status bar.

OFF (or 0)  Clock is NOT visible in the analyzer status bar.

Examples

SYST:CLOC 1

system:clock:state OFF

Query Syntax

SYSTem:CLOCk[:STATe]?

Default

ON


SYSTem:CONFigure:BIT?

Applicable Models: All

(Read-only) Returns whether analyzer FW is 32 bit application or 64 bit application. Returns the word size (32 or 64).

Parameters

None

Examples

SYST:CONF:BIT?

Return Type

String

Default

Not Applicable


SYSTem:CONFigure:DIRectory? <char>

Applicable Models: All

(Read-only) Returns the directory path location for the specified file type.

Parameters

None

<char>

Type of file. Choose from:

STATe - This is the location for the storage of state files.

APPLication - This is the location of the analyzer firmware executable files.

SUPPort - This is the location of private support files for the analyzer firmware.

See these file locations.

Example

SYST:CONF:DIR? SUPP

Return Type

String

Default

Not applicable


SYSTem:CONFigure:REVision:CPU?

Applicable Models: All

(Read-only) Returns a number that corresponds to the analyzer CPU speed that is visible in the Help, About Network Analyzer dialog box. Learn more.

Parameters

None

Example

SYST:CONF:REV:CPU?

Return Type

String

Default

Not applicable


None

SYST:CONF:REV:PNA:SYNT:VERS?

"6.0"

String

Not applicable

SYSTem:CORRection:WIZard[:IMMediate] <char>

Applicable Models: All

(Write-only) Launches either the Calibration Wizard or the Version 2 Calibration Kit File Manager dialog box.

Remote operation returns immediately after the dialog is launched. This is done to avoid timeout issues with I/O protocols such as VISA. Although it is possible to send commands to the analyzer while the dialog is open, this is not encouraged. Application programs should wait until the dialog is closed before resuming remote operations.

Parameters

 

<char>

Choose from:

MAIN - Launches the Calibration Wizard which matches the current channel, such as standard S-params, NoiseFigure, GCA, and so forth.

CKIT - Launches the Version 2 Calibration Kit File Manager dialog box.

RESP - Launches the Response Cal Type Selection.

BASic - Launches the Basic Cal dialog.

CALL - Launches the Calibrate All Selected Channels dialog.

These display on the analyzer screen.

Examples

SYST:CORR:WIZ MAIN
system:correction:wizard:immediate ckit

Query Syntax

Not Applicable

Default

MAIN


SYSTem:DATA:MEMory:ADD <string>

Applicable Models: All

(Write only) Add a request to copy the contents of the specified measurement into shared memory. Call this command once for each measurement definition. Once the shared memory is setup, there is no need to send more SCPI commands. The shared memory is filled automatically on every sweep.

Parameters

 

<string>

The following elements separated with colons (:).

<Ch>:<MeasNum>:<dataFormat>:<numPoints>:[<repeatCount>]

where:

  • <Ch> - Channel number of the measurement to share memory. Use SYST:ACTive:CHAN to return the active channel number. Use SYST:CHAN:CAT? to return the channel numbers in use.
  • <MeasNum> - Measurement (Tr) number to share memory. Use CALC<ch>:PAR:MNUM? just after the trace is created to read the measurement number. See also: Referring to Traces, Measurements, Channels, and Windows Using SCPI.
  • <dataFormat> - Choose from:
  • SDATA - Complex measurement data.

    • Reads data from Apply Error Terms (access point 1). Returns TWO numbers per data point. Corrected data is returned when correction is ON. Uncorrected data is returned when correction is OFF.

  • FDATA - Formatted measurement data to or from Data Access Map location Display (access point 2).
    • Corrected data is returned when correction is ON.

    • Uncorrected data is returned when correction is OFF.

    • Returns one number per data point for all other formats.

    • Format of the read data is same as the displayed format.

  • CAL - Access the entire set of calibrated SParameter measurements.

    • Only functional if an SParameter calibration is applied to the channel.

    • Always returns all the SParameters.

    • SParameters are in the following order for a 3 port cal:

      • {S11, S21, S31, S12, S22, S32, S13, S23, S33}

  • <numPoints> - Number of data points in the measurement trace.
  • [<repeatCount>] - This argument is optional. When specified, the buffer will include multiple sweeps of information into the buffer. Each sweep is stored consecutively into the shared data buffer.

Examples

SYSTem:DATA:MEMory:ADD "2:3:SDATA:201"

'copies the data for channel #2, measurement #3, complex data, 201 points into the shared memory buffer.

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:CATalog?

Applicable Models: All

(Read only) Returns a list of all the allocated shared memory buffers

Parameters

None

Examples

SYST:DATA:MEM:CAT?

Return Type

String

Default

Not Applicable

SYSTem:DATA:MEMory:CLOSe <memName>

Applicable Models: All

(Write-only)  Closes the specified memory mapped buffer.

Parameters

 

<memName>

String. Name of the memory mapped buffer.

Examples

SYST:DATA:MEM:CLOS "analyzer_MemoryMap"

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:CLOSe:FILE <fileName>

Applicable Models: All

(Write-only)  Closes the specified memory file.

Parameters

 

<fileName>

Memory file name.

Examples

SYST:DATA:MEM:CLOS "c:\temp\myfile.dat"

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:COMMit <memName>

Applicable Models: All

(Write only) Allocates the memory mapped buffer.

Parameters

 

<memName>

String. Name of the memory mapped buffer. This must be a unique name, and cannot conflict with other shared memory buffer names. Use this command in your program when connecting to the shared memory.

See SYSTem:DATA:MEMory:NAME?

Examples

SYST:DATA:MEM:COMM "analyzer_MemoryMap"

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:COMMit:FILE <fileName>

Applicable Models: All

(Write only) This command creates the memory buffer and saves the buffer to a file. This command is an alternative to using the SYST:DATA:MEM:COMMIT command.

Parameters

 

<fileName>

String. Name of the memory mapped buffer file. This must be a unique name, and cannot conflict with other shared memory buffer file names. Use this command in your program when connecting to the shared memory.

See SYSTem:DATA:MEMory:NAME?

Examples

SYST:DATA:MEM:COMM:FILE "c:\temp\myfile.dat"

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:DELete <memName> - Obsolete

Applicable Models: All

(Write only) Deletes the specified memory mapped buffer.

Parameters

 

<memName>

String. Name of the memory mapped buffer. This is the unique name that is used in the COMMit command.

Examples

SYST:DATA:MEM:DEL "analyzer_MemoryMap"

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:INITialize

Applicable Models: All

(Write only) Initializes the shared memory setup buffers.

Parameters

None

Examples

SYST:DATA:MEM:INIT

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:NAME?

Applicable Models: All

(Read only) Returns a unique, auto-generated name that can be used in the COMMIt command. By using this generated name, a client can be sure not to conflict with any other used shared memory regions.

Parameters

None

Examples

SYST:DATA:MEM:NAME?

Return Type

String

Default

Not Applicable


SYSTem:DATA:MEMory:OFFSet?

Applicable Models: All

(Read only) The shared memory is a contiguous block of memory. Each measurement takes up a subset of this contiguous block. This command returns the offset (in bytes) into the shared memory for the most recently added parameter. The offset is a number that specifies the starting index (in bytes) of the data.

This query can be sent after sending SYST:DATA:MEM:ADD.

Parameters

None

Examples

SYST:DATA:MEM:OFFS?

Return Type

Numeric

Default

Not Applicable


SYSTem:DATA:MEMory:REPeat:RESet

Applicable Models: All

(Write only) This command resets the current repeat index to 0.

Parameters

None

Examples

SYST:DATA:MEM:REP:RES

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:RESet

Applicable Models: All

(Write only) Deletes all allocated shared memory buffers.

Parameters

None

Examples

SYST:DATA:MEM:RES

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:DATA:MEMory:SIZE?

Applicable Models: All

(Read only) Returns the size of the memory mapped region. Send this immediately after SYST:DATA:MEM:COMMit. The result is the total size (in bytes) of all the measurements in the shared memory region.

Parameters

None

Examples

SYST:DATA:MEM:SIZE?

Return Type

Numeric

Default

Not Applicable


SYSTem:DATE?

Applicable Models: All

(Read-only) Returns the system date.

Parameters

None

Example

SYST:DATE?

Return Type

Comma separated numbers representing year, month, day.

Default

Not applicable


SYSTem:DC:DEFault:LNOise <device>,<Boolean>

Applicable Models: All

(Read-Write) Specify the default value of low noise V Control. No GUI.

Parameters

 

<device>

String. "VControl". The upper/lower case letter must match. Specifying other devices (VSupply1 or VSupply2) will also set the default value for VControl.

<Boolean>

Choose from:

ON or 1

OFF or 0

Examples

SYST:DC:DEF:LNO "VContorl",1

system:dc:default:lnoise "VContorl",0

Query Syntax

SYSTem:DC:DEFault:LNOise? "VControl"

Return Type

Boolean

Default

0


SYSTem:DC:DEFault:OUTPut:STATe <device>,<Boolean>

Applicable Models: All

(Read-Write) Sets and returns the ON / Off state of specified default DC sources for the all channels.

Parameters

 

<device>

String. The name of DC Source. Choose from: The upper/lower case letter must match.

VControl

VSupply1

VSupply2

<Booelean>

ON / Off state. Choose from:

ON or 1 - DC sources enabled.

OFF or 0 -  DC sources disabled.

Examples

SYST:DC:DEF:OUTP:STAT "VConrol", 1

Query Syntax

SYSTem:DC:DEEalut:OUTPut:STATe? <device>

Return Type

Boolean

Default

0


SYSTem:DC:DEFault:OUTPut:VOLTage <device>,<value>

Applicable Models: All

(Read-Write) Sets and returns the voltage values of specified default DC sources for the all channels.

Parameters

 

<device>

String. "VControl", "VSupply1" or, "VSupply2" The upper/lower case letter must match.

<value>

Default DC voltage value in volt

Examples

SYST:DC:DEF:OUTP:VOLT "VControl", 3

Query Syntax

SYSTem:DC:DEEalut:OUTPut:VOLTage? <device>

Return Type

Boolean

Default

0


SYSTem:DC:ENABle <bool>

Applicable Models: All

(Read-Write) Sets and returns the ON / Off state of all configured DC sources for the all channels.

E5055A:  If one of channel is set at On in this command, the DC out is turned on. DC out is turned off only when all channels are set at Off. Use SYST:DC:ENABle to turn off DC output for all channels.

Parameters

 

<ch>

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

<bool>

ON / Off state. Choose from:

ON or 1 - All DC sources enabled.

OFF or 0 - All DC sources disabled.

Examples

SYST:DC:ENAB 0

Query Syntax

SYSTem:DC:ENABle?

Return Type

Boolean

Default

1


SYSTem:DISK:REVision?

Applicable Models: All

(Read-only) Returns the disk drive version. The format is S.XX.YY.ZZ.

Parameters

None

Example

SYST:DISK:REV?

Return Type

Comma separated numbers representing year, month, day.

Default

Not applicable


SYSTem:ERRor?

Applicable Models: All

(Read-only) Returns the next error in the error queue. Each time the analyzer detects an error, it places a message in the error queue. When the SYSTEM:ERROR? query is sent, one message is moved from the error queue to the output queue so it can be read by the controller. Error messages are delivered to the output queue in the order they were received. The error queue is cleared when any of the following conditions occur:

  • When the analyzer is switched ON.

  • When the *CLS command is sent to the analyzer.

  • When all of the errors are read.

If the error queue overflows, the last error is replaced with a "Queue Overflow" error. The oldest errors remain in the queue and the most recent error is discarded.

See list of all SCPI Errors.

Examples

SYST:ERR?
system:error?

Default

Not Applicable


SYSTem:ERRor:COUNt?

Applicable Models: All

(Read-only) Returns the number of errors in the error queue. Use SYST:ERR? to read an error.

See list of all SCPI Errors.

Examples

SYST:ERR:COUN?
system:error:count?

Default

Not Applicable


SYSTem:ERRor:REPort:SUNLeveled <bool>

Applicable Models: All

(Read-Write) Specifies whether or not to report Source Unleveled errors to the SCPI system error buffer.

This setting will NOT revert to the default (OFF) setting on Instrument Preset. Use the SYSTem:PREFerences:DEFault command to reset the preferences to their default settings.

Parameters

 

<bool>

ON (or 1)  Report Source Unleveled Errors. Read errors from the system error buffer using SYST:ERR?

OFF (or 0)  Do NOT report Source Unleveled Errors.

Examples

SYST:ERR:REP:SUNL 1

system:error:report:sunleveled ON

Query Syntax

SYSTem:ERRor:REPort:UNLeveled?

Default

OFF



SYSTem:FPReset

Applicable Models: All

(Write-only) Performs a standard Preset, then deletes the default trace, measurement, and window. The analyzer screen becomes blank.

Examples

SYST:FPR
system:fpreset

Default

Not applicable



SYSTem:LOCal

Applicable Models: All

(Write-only) Sets the local/remote state to local.

Examples

SYST:LOC
system:local

Default

Not applicable


SYSTem:MACRo:COPY:CHANnel<cnum>[:TO] <num>

Applicable Models: All

(Write-only) Copies ALL settings from <cnum> channel to <num> channel.  Learn more about copy channels.

Use SENS:PATH:CONF:COPY to copy ONLY mechanical switch and attenuator settings.

Parameters

 

<cnum>

Channel number to copy settings from. If unspecified, value is set to 1.

<num>

Channel number to copy settings to.

Examples

SYST:MACR:COPY:CHAN1 2

system:macro:copy:channel2:to 3

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:MACRo:COPY:CHANnel<fromChannel>:STATe <toChannel>,<toWindow>,[<copyScope>]

Applicable Models: All

(Write-only) Copies settings only, or settings and measurements, traces, markers, and limit lines from an existing channel, <fromChannel>, to a new channel, <toChannel>. Traces can be copied into the Active Window, a user specified window, or a new (next available) window. .

Parameters

 

<fromChannel>

Channel number to copy settings from. If unspecified, value is 1.

<toChannel>

0 for next available channel, or N for channel number to copy settings to.

<toWindow>

-1 will create a new window, 0 will use the active window, and N will use the specified window N. <toWindow> is ignored when <copyScope> is "stimulus"

<copyScope>

must be "stimulus" which copies only settings, or "state" which copies settings, measurements, traces, markers, and limit lines.

Examples

SYST:MACR:COPY:CHAN1:STAT 2,0,"stimulus"

Copies only settings from channel #1 to channel #2. This is equivalent to SYST:MACR:COPY:CHAN1 2

 

SYST:MACR:COPY:CHAN1:STAT 2,-1,"state"

Copies settings, measurements, traces, etc. from channel #1 to channel #2. Traces are placed into a new window (next available window), and additional windows will be created as necessary so that all traces are copied.

 

SYST:MACR:COPY:CHAN1:STAT 0,-1

Copies settings, measurements, etc. from channel #1 to the next available channel and places traces into the next avaialble new window.

Query Syntax

Not Applicable

Default

Not Applicable

 


SYSTem:MACRo:COPY:CHANnel<fromChan>:SOURce <fromPort>,<toChan>,<toPort>

Applicable Models: All with VNA ports

(Write-only) Copies and applies an existing Source Power Calibration to another channel. Learn more about source power calibration.

Parameters

 

<fromChan>

Channel number of the existing source power correction.

<fromPort>

Port number of the existing source power correction.

<toChan>

Channel number to which the source power correction will be copied.

<toPort>

Port number to which the source power correction will be applied.

Examples

SYST:MACR:COPY:CHAN1:SOUR 1,2,1

system:macro:copy:channel2:source 2,1,2

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:MCLass:CATalog?

Applicable Models: All

(Read-only) Returns measurement classes available on the analyzer. Learn more about Measurement Classes.

Parameters

None

Examples

SYST:MCLass:CAT?

Return Type

String of comma-separated measurement class names. See the complete list of measurement class names.

Default

Not Applicable


SYSTem:MCLass:PARameter:CATalog? <name>

Applicable Models: All

(Read-only) Returns ALL parameters that are supported by the specified measurement class.

Parameters

 

<name>

String. Measurement Class name. See the complete list of measurement class names.

Examples

'Returns all parameters for Gain Compression.

SYST:MCL:PAR:CAT? "Gain Compression"

Return:

"S11,S12,S13,S14,S21,S22,S23,S24,S31,S32,S33,S34,S41,S42,S43,S44,A,B,C,D,R,R1,R2,R3,R4"

Return Type

String of comma-separated parameters

Default

Not Applicable


SYSTem:MEASure:CATalog? [chan]

Applicable Models: All

(Read-only) Returns ALL measurement numbers, or measurement numbers from a specified channel.

Parameters

 

[chan]

Optional. Channel number to catalog. If not specified, all measurement numbers are returned.

Examples

'Returns all measurement numbers

SYST:MEAS:CAT?

'Returns the measurement numbers on channel 2

system:measurement:catalog? 2

Return Type

String of comma-separated numbers

For example: "1,2"

Default

Not Applicable


SYSTem:MEASure<n>:NAME?

Applicable Models: All

(Read-only) Returns the name of the specified measurement.

Parameters

 

<n>

Measurement number for which to return the measurement name. If unspecified, value is set to 1.

Examples

'Returns the name of measurement 2

SYST:MEAS2:NAME?

Return Type

String

Default

Not Applicable


SYSTem:MEASure<n>:TRACe?

Applicable Models: All

(Read-only) Returns the trace number of the specified measurement number. Trace numbers restart for each window while measurement numbers are always unique.

Parameters

 

<n>

Measurement number for which to return the trace number.  If unspecified, value is set to 1.

Examples

'Returns the trace number of measurement 1

SYST:MEAS1:TRAC?

Return Type

Numeric

Default

Not Applicable


SYSTem:MEASure<n>:WINDow?

Applicable Models: All

(Read-only) Returns the window number of the specified measurement number.

Parameters

 

<n>

Measurement number for which to return the window number.  If unspecified, value is set to 1.

Examples

'Returns the window number of measurement 2

SYST:MEAS2:WIND?

Return Type

Numeric

Default

Not Applicable


SYSTem:PERSona:MANufacturer <string>

Applicable Models: All

(Read-Write) This command allows you to modify the manufacturer name returned by the instrument’s *IDN query response. This is intended to be used for Agilent backward identity compatibility. For example, "Agilent Technologies” or “Agilent”. However, it could be used for other purposes such as emulation of another vendor’s instrument.

The change to the manufacturer string will not take effect until after an instrument reboot.

The manufacturer string does not allow commas in the name. If a comma is detected an error is returned. Also, if an invalid manufacturer is detected, an error is returned.

The manufacturer string used for Keysight is “Keysight Technologies”.

Parameters

 

<string>

Name of the manufacturer.

Examples

SYST:PERS:MAN "Keysight Technologies"

Query Syntax

SYSTem:PERSona:MANufacturer?

Return Type

String

Default

Not Applicable


SYSTem:PERSona:MANufacturer:DEFault

Applicable Models: All

(Read-Write) Sets and returns the instrument's original manufacturer identification state following the next instrument reboot.

Parameters

None

Examples

SYST:PERS:MAN:DEF

Query Syntax

SYSTem:PERSona:MANufacturer:DEFault?

Return Type

String

Default

Not Applicable


SYSTem:PERSona:MODel <string>

Applicable Models: All

(Read-Write) This command allows you to modify the product model returned by the instrument’s *IDN query response. This is intended to be used for model compatibility. If not specified, the default model of the instrument is used.

The change to the model string will not take effect until after an instrument reboot.

The model string does not allow commas in the name. If a comma is detected an error is returned. Also, if an invalid model is detected, an error is returned.

Parameters

 

<string>

Product model name.

Examples

SYST:PERS:MOD "33220A"

Query Syntax

SYSTem:PERSona:MANufacturer?

Return Type

String

Default

Not Applicable


SYSTem:PERSona:MODel:DEFault

Applicable Models: All

(Read-Write) Sets and returns the instrument's original product model name following the next instrument reboot.

Parameters

None

Examples

SYST:PERS:MOD:DEF

Query Syntax

SYSTem:PERSona:MODel:DEFault?

Return Type

String

Default

Not Applicable


SYSTem:POFF

Applicable Models: All

(Write-only) Shuts down the system.

Parameters

 

<n>

Shutdown or restart. Choose from:

1 - Restart.

0 - Shutdown .

Examples

'Shuts down the system

SYST:POFF

Default

0 (Shutdown)


SYSTem:POWer<pnum>:LIMit <value>

Applicable Models: All

(Read-Write) Sets and returns the power limit for the specified port. Learn more about Power Limit.

Parameters

 

<pnum>

Port number. Choose any analyzer port.

<value>

Power limit in dBm

Examples

SYST:POW1:LIM 5

system:power2:limit 0

Query Syntax

SYSTem:POWer<pnum>:LIMit?

Return Type

Numeric

Default

100 dBm


SYSTem:POWer:LIMit:LOCK <bool>

Applicable Models: All

(Read-Write) Enables or disables the ability to change the power limit values through the user interface. Learn more about Power Limit.

Parameters

 

<bool>

Power limit lock. Choose from:

ON or 1 - Disables the ability to change the power limit values from the user interface.

OFF or 0 - Enables the ability to change the power limit values from the user interface.

Examples

SYST:POW:LIM:LOCK 1

system:power:limit:lock OFF

Query Syntax

SYSTem:POWer:LIMit:LOCK?

Return Type

Boolean

Default

OFF


SYSTem:POWer<pnum>:LIMit:STATe <bool>

Applicable Models: All

(Read-Write) Enables or disables the power limit for the specified port. Learn more about Power Limit.

Parameters

 

<pnum>

Port number. Choose any analyzer port.

<value>

Power limit state. Choose from:

ON or 1  Enables the power limit for the port<pnum>.

OFF or 0  Disables the power limit for the port<pnum>.

Examples

SYST:POW1:LIM:STAT ON

system:power2:limit:state 0

Query Syntax

SYSTem:POWer<pnum>:LIMit:STATe?

Return Type

Boolean

Default

OFF


SYSTem:PRESet

Applicable Models: All

(Write-only) Deletes all traces, measurements, and windows. In addition, resets the analyzer to factory defined default settings and creates a S11 measurement named "CH1_S11_1". For a list of default settings, see Preset.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the analyzer to the factory preset settings, and SYST:UPReset will always perform a User Preset.

If the analyzer display is disabled with DISP:ENAB OFF then SYST:PRES will NOT enable the display.

This command performs the same function as *RST with one exception: Syst:Preset does NOT reset Calc:FORMAT to ASCII as does *RST.

Examples

SYST:PRES
system:preset

Default

Not applicable


SYSTem:SECurity[:LEVel] <char>

Applicable Models: All

(Read-Write) Sets and returns the display of frequency information on the analyzer screen and printouts.

Learn more about security level.

Parameters

 

<char>

Choose from:

NONE -  ALL frequency information is displayed.

LOW - NO frequency information is displayed. Frequency information can be redisplayed using the Security Setting dialog box or this command.

HIGH - LOW setting plus GPIB console is disabled. Frequency information can be redisplayed ONLY by performing a Preset, recalling an instrument state with None or Low security settings, or using this command.

EXTRa - HIGH setting plus:

Examples

SYST:SEC LOW
system:security:level high

Query Syntax

SYSTem:SECurity[:LEVel]?

Return Type

Character

Default

None


SYSTem:SERVice:MANagement:CALibration:INFormation

Applicable Models: All

(Read only) Returns the analyzer calibration information in JSON format.

Parameters

 

Examples

SYST:SERV:MAN:CAL:INF?

Query Syntax

SYST:SERV:MAN:CAL:INF?

Return Type

Character

CalID: Calibration ID number created by the service center when the instrument was calibrated.

CalBy: Service Center that calibrated this instrument such as "Keysight Technologies"

CalDate: Date of last calibration

CalDueDate: Calibration due date.

Status: Calibration Status. If CalDueDate is empty and CalDate is present, "calibration valid" is returned.

System Time: Current System Time:

Default

None

 


SYSTem:SET <block>

Applicable Models: All

(Read-Write) Sends a definite-length binary block Instrument state and sets the analyzer with those settings. This command does the same as saving a *.sta file to the analyzer (MMEM:STOR STATE) and then MMEM:TRAN to transfer the file to the computer.

Parameters

 

<block>

The  Instrument state file as definite-length arbitrary binary block.  

Examples

SYST:SET <block>

Query Syntax

SYSTem:SET?  (This saves the instrument state file to the remote computer.)

Return Type

Definite-length arbitrary binary block.

Default

Not Applicable


SYSTem:SHEets:CATalog?

Applicable Models: All

(Read-only) Returns comma separated list of visible sheets.

Parameters

 

Examples

SYST:SHE:CAT?

'Returns:

"1,2,3"

Return Type

String of comma-separated numbers

Default

1


SYSTem:SHORtcut<n>:ARGuments<string>

Applicable Models: All

(Read-Write) Reads and writes the arguments for the specified macro. On the Edit Macro Dialog, this is called the "Macro run string parameters".

Parameters

 

<n>

Numeric. Number of the macro that is stored in the analyzer.

To find the number of a macro, either open the Macro Setup dialog and count the line number of the desired macro, or query the titles of all of the macros for the desired macro title.

<string>

Arguments for the specified macro.

Examples

SYST:SHOR1:ARG "http://na.support.keysight.com/pna/help/PNAWebHelp/help.htm"

Query Syntax

SYSTem:SHORtcut<n>:ARGuments?

Default

Not Applicable


SYSTem:SHORtcut<n>:DELete

Applicable Models: All

(Write-only) Removes the specified macro from the list of macros in the analyzer. Does not delete the macro executable file.

Parameters

 

<n>

Numeric. Number of the macro that is stored in the analyzer.

To find the number of a macro, either open the Macro Setup dialog and count the line number of the desired macro, or query the titles of all of the macros for the desired macro title.

Examples

SYST:SHOR1:DEL

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:SHORtcut<n>:EXECute

Applicable Models: All

(Write-only) Executes (runs) the specified Macro (shortcut) that is stored in the analyzer.

Note: If Enable Remote Drive Access is unchecked in the Remote Interface dialog, this command will return an error.

Parameters

 

<n>

Numeric. Number of the macro that is stored in the analyzer.

To find the number of a macro, either open the Macro Setup dialog and count the line number of the desired macro, or query the titles of all of the macros for the desired macro title.

Examples

SYST:SHOR1:EXEC

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:SHORtcut<n>:PATH <string>

Applicable Models: All

(Read-Write) Defines a Macro (shortcut) by linking a path and file name to the Macro number. To be executed, the executable file must be put in the analyzer at the location indicated by this command.

Parameters

 

<n>

Numeric. Number of the macro to be stored in the analyzer. If the index number already exists, the existing macro is replaced with the new macro.

<string>

Full path, file name, and extension, of the existing macro "executable" file.

To find the number of a macro, either open the Macro Setup dialog and count the line number of the desired macro, or query the titles of all of the macros for the desired macro title.

Examples

SYST:SHOR1:PATH "C:\Program Files(x86)\Keysight\Network Analyzer\Documents\unguideMultiple.vbs"

Query Syntax

SYSTem:SHORtcut<n>:PATH?

Default

Not Applicable


SYSTem:SHORtcut<n>:TITLe<string>

Applicable Models: All

(Read-Write) Reads and writes the name of the specified macro.

Parameters

 

<n>

Numeric. Number of the macro that is stored in the analyzer.

To find the number of a macro, either open the Macro Setup dialog and count the line number of the desired macro, or query the titles of all of the macros for the desired macro title.

<string>

The name to be assigned to the macro.

Examples

SYST:SHOR1:TITL "Guided 4-Port Cal"

Query Syntax

SYSTem:SHORtcut<n>:TITLe?

Default

Not Applicable


SYSTem:TIME?

Applicable Models: All

(Read-only) Returns the system time.

Parameters

None

Example

SYST:TIME?

Return Type

Comma separated numbers representing hours, minutes, seconds.

Default

Not applicable


SYSTem:TOUChscreen[:STATe] <bool>

Applicable Models: All

(Read-Write) Enables and disables the touchscreen.

This setting remains until changed again from the front-panel or remotely, or until the hard drive is changed or reformatted.

Parameters

 

<bool>

Choose from:

ON (1) Enables the touchscreen.

OFF (0) Disables the touchscreen.

Examples

SYST:TOUC 1
system:touchscreen:state OFF

Query Syntax

SYSTem:TOUChscreen[:STATe]?

Return Type

Boolean

Default

ON when shipped from factory.


SYSTem:UPReset

Applicable Models: All

(Write-only) Performs a User Preset. There must be an active User Preset state file (see Load and Save) or an error will be returned.  Learn more about User Preset.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the analyzer to the factory preset settings, and SYST:UPReset will always perform a User Preset.

Examples

SYST:UPReset

system:upreset

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:UPReset:FPANel[:STATe] <bool>

Applicable Models: All

(Read-Write)   'Checks' and 'clears' the enable box on the User Preset dialog box. This only affects subsequent Presets from the front panel user interface.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the analyzer to the factory preset settings, and SYST:UPReset will always perform a User Preset.

Parameters

 

<bool>

Front Panel User Preset State.  Choose from:

0 User Preset OFF

1 User Preset ON

Examples

SYST:UPR:FPAN 1

system:upreset:fpanel:state 0

Query Syntax

SYSTem:UPREset:FPANel[:STATe]?

Return Type

Boolean

Default

0


SYSTem:UPReset:LOAD[:FILE] <file>

Applicable Models: All

(Write-only) Loads an existing instrument state file (.sta or .cst) to be used for User Preset. Subsequent execution of SYSTem:UPReset will cause the analyzer to assume this instrument state.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the analyzer to the factory preset settings, and SYST:UPReset will always perform a User Preset.

Learn more about User Preset.

Parameters

 

<file>

String - Name of the file to be loaded. Change the default folder name using MMEMory:CDIRectory.

Examples

SYST:UPR:LOAD '1MHzto20GHzUserPreset.cst'

system:upreset:load:file 'C:\Documents and Settings\Administrator\My Documents\NewUserPreset.cst'

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:UPReset:SAVE[:STATe]

Applicable Models: All

(Write-only) Saves the current instrument settings as UserPreset.sta.  Subsequent execution of SYSTem:UPReset will cause the analyzer to assume this instrument state.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the analyzer to the factory preset settings, and SYST:UPReset will always perform a User Preset.

Learn more about User Preset.

Examples

SYST:UPR:SAVE

system:upreset:save:state

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:WINDows:CATalog?

Applicable Models: All

(Read-only) Returns the window numbers that are currently being used.

Examples

SYST:WIND:CAT?

system:windows:catalog?

Return Type

String of comma-separated numbers.

For example: "1,2"

Default

Not Applicable