System Commands


Controls and queries settings that affect the PNA system.

SYSTem:

ABORt:THReshold

ACTive

       | CHANnel

       | MEASurement

CAL:ALL  More commands

CAL:PHASe  More commands

CHANnels

       | CATalog?

       | COUPle

       | DELete

       | HOLD

       | RESume

COMMunicate

       | GPIB

    | PMETer

    | ADDRess

    | RDEVice

    | CLOSe

    | OPEN

    | READ?

    | RESet

    | WBINary

    | WBLock

    | WRITe

       | LAN:HOSTname

       | PSENsor

       | TCPip:CONTrol?

       | USB:PMETer:CAT?

CONFigure

       | REVision

   | CPU?

   | DSP?

   | DSPFpga?

CONFiguration:EDEVice More commands

CORRection

       | INTerpolate:LINear More commands

       | WIZard

ERRor?

       | COUNt?

       | REPort

   | SUNLeveled

FIFO  More commands

FPReset

MACRO:COPY

       | CHANnel

    | SOURce

MCLass:CATalog?

MEASurement

       | CATalog?

       | NAME?

       | TRACe?

       | WINDow?

POWer:

      | LIMit

    | LOCK

    | STATe

PRESet

PREFerences More commands

SECurity

       | [LEVel]

SET?

SHORtcut

       | ARGuments

       | DELete

       | EXECute

       | PATH

       | TITLe

TOUChscreen

UPReset

       | FPANel[:STATe]

       | LOAD

       | SAVE[:STATe]

WINDows

       | CATalog?

Click on a blue keyword to view the command details.

See Also


SYSTem:ABORt:THReshold <value>

(Read-Write) When a PNA 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.

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 PNA 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 PNA setting change is made at any time during the sweep.

Notes:

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

  • 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 PNA 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?

(Read-only) Returns the number of the active channel or an error message if there is no active channel. The active channel is the channel number that contains the active measurement.

Examples

SYST:PRES
SYST:ACT:CHAN?

'Returns 1

Return Type

Integer

Default

Not Applicable


SYSTem:ACTive:MEASurement?

(Read-only) Returns the name of the active measurement or an error message if there is no active measurement. While looking at the PNA display, the active measurement is the trace that has a highlighted Tr#  in the Trace Status area. Only displayed measurements can be active.

Examples

SYST:PRES
SYST:ACT:MEAS?

'Returns "CH1_S11_1"

Return Type

String

Default

Not Applicable


SYSTem:CHANnels:CATalog?

(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:COUPle[:STATe] <bool>

(Read-Write) Sets and reads the state of channel coupling. This causes the PNA to emulate Agilent 8720 channel coupling.

When set to ON, all existing S-parameter channels receive the stimulus settings of the active channel. Subsequent changes made to any coupled channel are changed on all coupled channels.

Channels with applications such as SMC, VMC, GCA, Noise, IMD are not affected.

Coupling is primarily aimed at stimulus settings (such as start, stop, points, power) but also applies to many trigger settings and to Cal Set pointers.

Parameters

 

<bool>

ON (or 1)  Channels are coupled

OFF (or 0)  Channels are NOT coupled

Examples

SYST:CHAN:COUP 1

system:channels:couple:state OFF

Query Syntax

SYSTem:CHANnels:COUPle[:STATe]?

Default

OFF


SYSTem:CHANnels:DELete <value>

(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

(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

(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:COMMunicate:GPIB:PMETer[:ADDRess] <num>  Superseded

Note: This command is replaced with SYST:COMM:PSENsor

(Read-Write) Specifies the GPIB address of the power meter to be used in a source power calibration. When performing a source power cal, the PNA will search VISA interfaces that are configured in the Agilent IO LIbraries on the PNA.

Use

Parameters

 

<num>

GPIB address of the power meter. Choose any integer between 0 and 30.

Examples

SYST:COMM:GPIB:PMET 13

system:communicate:gpib:pmeter:address 14

Query Syntax

SYSTem:COMMunicate:GPIB:PMETer[:ADDRess]?

Return Type

Numeric

Default

13


SYSTem:COMMunicate:GPIB:RDEVice:CLOSe <ID>

(Write only) Closes the remote GPIB session. This command should be sent when ending every successful OPEN session.

Parameters

 

<ID>

Session identification number that was returned with the OPEN? command.

Examples

See an example program

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:OPEN <bus>, <addr>, <timeout>

(Read-Write) Initiates a GPIB pass-through session. First send this OPEN command, then send the OPEN query to read the session ID number. An existing GPIB pass-through session remains open after an instrument preset.

To learn more about GPIB pass-through capability, see the example program.

Parameters

 

<bus>

Bus ID number.

You can find the USB-GPIB adapter bus number by looking at the dialog that appears when the USB-GPIB device is connected. Error 1073 indicates the bus or address number is incorrect.

Use 0 (zero) when connected using a GPIB cable to the PNA controller port.

<addr>

GPIB Address of the device to be controlled

<timeout>

The amount of time (in milliseconds) to wait for a response from the remote device after sending a command.  A "timeout" error is displayed after this time has passed without a response.

Examples

See an example program

Query Syntax

SYSTem:COMMunicate:GPIB:RDEVice:OPEN?

Returns the session identification number that is used when communicating with this device.

Return Type

Numeric

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:READ? <ID>

(Read-only) Returns data from the GPIB pass-through device.

Parameters

 

<ID>

Session identification number that was returned with the OPEN? command.

Examples

See an example program

Return Type

String

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:RESet

(Write-only)   Performs the same function as SYST:COMM:GPIB:RDEV:CLOS except that ALL pass-through sessions are closed.

Examples

SYST:COMM:GPIB:RDEV:RES

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:WBINary <ID>,<data>

(Write-only)  Sends data to a GPIB pass-through device. This command requires a header that specifies the size of the data to be written. The header (described below) is not passed along to the device.

Use this command if too many embedded quotes prevent you from using SYST:COMM:GPIB:RDEV:WRIT.

Use SYST:COMM:GPIB:RDEV:OPEN to open the pass through session.

Parameters

 

<ID>

Session identification number that was returned with the OPEN? command.

<data>

Data to be sent to the GPIB pass-through device. Use the following syntax:

#<num digits><byte count><data bytes><NL><END>

<num_digits> specifies how many digits are contained in <byte_count>

<byte_count> specifies how many data bytes will follow in <data bytes>

Examples

SYSTem:COMMunicate:GPIB:RDEVice:WBINary 101,#17ABC+XYZ<nl><end>

# - always sent before data.

1 - specifies that the byte count is one digit (7).

7 - specifies the number of data bytes that will follow, not counting <NL><END>.

ABC+XYZ - Data block

<nl><end> - always sent at the end of block data.

 

The following example sends a line feed at the end.

SYST:COMM:GPIB:RDEV:WBIN 1,#210SYST:PRES<EOL>

The <EOL> represents your linefeed character.

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:WBLock <ID>,<data>

(Write-only)  Same as SYSTem:COMM:GPIB:RDEV:WBIN (above) but the header IS passed along to the device.

Use this command if too many embedded quotes prevent you from using SYST:COMM:GPIB:RDEV:WRIT.

Parameters

 

<ID>

Session identification number that was returned with the OPEN? command.

<data>

Data to be sent to the GPIB pass-through device. See previous command.

Examples

See previous example.

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:COMMunicate:GPIB:RDEVice:WRITe <ID>,<string>

(Write-only) Sends ASCII string data to the GPIB pass-through device.

A line feed is NOT appended to the string data. To send a line feed, see the example in SYST:COMM:GPIB:RDEV:WBIN.

Parameters

 

<ID>

Session identification number that was returned with the OPEN? command.

<string>

Commands to be sent to the GPIB pass-through device.

Examples

See an example program

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:COMMunicate:LAN:HOSTname?

(Read-only) Returns the LAN hostname that is visible in the Help, About Network Analyzer dialog box. Learn more. This is the same information that is visible on the LXI compliance dialog.

Parameters

None

Example

SYST:CONF:LAN:HOSTname?

Return Type

String

Default

Not applicable


SYSTem:COMMunicate:PSENsor <char>, <string>

This command replaces SYST:COMM:GPIB:PMET:ADDR.

(Read-Write) Specifies the type and location of the power meter to be used in a source power calibration.

Parameters

 

<char>

Type of power meter/ sensor. Choose from:

  • GPIB  GPIB power meter

  • USB  USB power sensor or USB power sensor

  • LAN  LAN enabled power meter

  • ANY  Any VISA resource string or a visa alias

<string>

For GPIB, address of the power meter. Choose any integer between 0 and 30.

For USB, the ID string of the power meter or power sensor. Use SYST:COMM:USB:PMET:CAT? to see a list of ID strings of connected power meters and sensors.

For LAN, the hostname or IP address of the power meter.

For ANY,  any VISA resource string or a visa alias.

Examples

SYST:COMM:PSEN gpib, "14"

system:communicate:psensor usb, "Agilent Technologies,U2000A,MY12345678"

syst:comm:psen lan, "mymeter.agilent.com"

syst:comm:psen any, "TCPIP0::mymeter.agilent.com::5025::SOCKET"

Query Syntax

SYSTem:COMMunicate:PSENsor?

Return Type

Character / String

Default

GPIB


SYSTem:COMMunicate:USB:PMETer:CATalog?

(Read-only) Returns the ID string of power meters / sensors that are connected to the PNA USB. Use the list to select a power sensor for a source power cal.

These meter/sensor ID strings can NOT be used as the resource string for configuring a USB-based PMAR (SYST:CONF:EDEV:IOConfig).

Parameters

 

Examples

SYST:COMM:USB:PMET:CAT?

system:communicate:usb:pmeter:catalog?

Return Type

Comma-delimited strings. Two power sensor strings are separate by a semicolon.

Default

Not applicable


SYSTem:COMMunicate:TCPip:CONTrol?

(Read-only) Queries the TCP/IP port number to use for opening a TCP/IP socket control connection to the PNA.  The control connection is used for two purposes:

  1. To perform a Device Clear operation on the PNA

  2. To detect when a Service Request (SRQ) event occurs on the PNA.

The port number can range from 5000 to 5099. The PNA will skip over 5025 as it is being used for the primary socket connection.

To detect an SRQ, your program sends the appropriate commands via the regular socket connection to set up for a SRQ event to occur the same sequence of commands as if you were sending them via GPIB.  You write your program so that while your program is doing SCPI transactions on the standard socket connection, a second thread of execution in your program detects the SRQ on the control connection and responds to the event.  When the SRQ event occurs, the PNA sends a SRQ +xxx/n message on the control connection (where /n is linefeed character, ASCII value 10 decimal).  The xxx value in the SRQ +xxx/n string is the IEEE 488.2 status byte at the time the SRQ was generated.  So listening for that on the control connection is how your program detects the event.  If for your socket communication youre using a software API that provides for asynchronous communication via a callback mechanism (for example, if youre using Microsofts winsock API, or their .NET Socket class as in the example program below), in that case your listener execution thread is created implicitly for you so your program doesnt have to create one explicitly.

Note: If this SCPI query is sent to the PNA via a SCPI parser other than a TCP/IP socket connection (for example, if sent via GPIB), the query is not applicable in that case and will return value of 0.

Parameters

None

Example

See example program

Return Type

Integer

Default

Not applicable


SYSTem:CONFigure <model>,<address>

(Write-only) Restarts as an "N-port" PNA using the specified multiport test set.

Learn more about PNA Multiport capability.

See other commands to configure multiport test sets.

Parameters

 

<model>

String - Model of the test set with which to restart.

Use "Native" to restart without a test set.

To see a list of supported test sets, use SENS:MULT:CAT?

<address>

Numeric - GPIB Address of the test set. Ignored when model = "Native".

Examples

SYST:CONF "NATIVE",0

system:configure "N44xx",18

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:CONFigure:REVision:CPU?

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

Use the following table to learn the clock speed using the returned value.

Reported CPU version  - Clock speed

1.0 - 266 MHz

2.0 - 500 MHz

3.0 - 1100 MHz

4.0 - 1600 MHz

5.0 - 2000 MHz

6.0 - 2000 MHz dual core.

Parameters

None

Example

SYST:CONF:REV:CPU?

Return Type

String

Default

Not applicable


SYSTem:CONFigure:REVision:DSP?

(Read-only) Returns the DSP Revision number that is visible in the Help, About Network Analyzer dialog box. Learn more.

Parameters

None

Example

SYST:CONF:REV:DSP?

Return Type

String

Default

Not applicable


SYSTem:CONFigure:REVision:DSPFpga?

(Read-only) Returns the DSP FPGA Revision number that is visible in the Help, About Network Analyzer dialog box. Learn more.

Parameters

None

Example

SYST:CONF:REV:DSPF?

Return Type

String

Default

Not applicable


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

(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 PNA 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.

Both display on the PNA screen.

Examples

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

Query Syntax

Not Applicable

Default

Not Applicable


SYSTem:ERRor?

(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?

(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>

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

This setting will revert to the default (OFF) setting on Instrument Preset.

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

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

Examples

SYST:FPR
system:fpreset

Default

Not applicable


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

(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<fromChan>:SOURce <fromPort>,<toChan>,<toPort>

(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?

(Read-only) Returns measurement classes available on the PNA. 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:MEASurement:CATalog? [chan]

(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:MEASurement<n>:NAME?

(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:MEASurement<n>:TRACe?

(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:MEASurement<n>:WINDow?

(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:POWer<pnum>:LIMit <value>

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

Parameters

 

<pnum>

Port number. Choose any PNA 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>

(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 - Enables the ability to change the power limit values from the user interface.

OFF or 0 - Disables 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>

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

Parameters

 

<pnum>

Port number. Choose any PNA 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

(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 PNA to the factory preset settings, and SYST:UPReset will always perform a User Preset.

If the PNA 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>

(Read-Write) Sets and returns the display of frequency information on the PNA 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:SET <block>

(Read-Write) Sends a definite-length binary block Instrument state and sets the PNA with those settings. This command does the same as saving a *.sta file to the PNA (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:SHORtcut<n>:ARGuments<string>

(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 PNA.

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.tm.agilent.com/pna/help/PNAWebHelp/help.htm"

Query Syntax

SYSTem:SHORtcut<n>:ARGuments?

Default

Not Applicable


SYSTem:SHORtcut<n>:DELete

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

Parameters

 

<n>

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

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

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

Parameters

 

<n>

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

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>

(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 PNA 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/Agilent/Network Analyzer/Documents/unguideMultiple.vbs"

Query Syntax

SYSTem:SHORtcut<n>:PATH?

Default

Not Applicable


SYSTem:SHORtcut<n>:TITLe<string>

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

Parameters

 

<n>

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

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:TOUChscreen[:STATe] <bool>

(Read-Write) Enables and disables the PNA-X 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

(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 PNA 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>

(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 PNA 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>

(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 PNA to assume this instrument state.

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the PNA 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. The default folder "C:/Program Files/Agilent/Network Analyzer/Documents" is used if unspecified.  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]

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

Regardless of the state of the User Preset Enable checkbox, the SYST:PRESet command will always preset the PNA 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?

(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


Last modified:

29-Apr-2013

Removed reference to 12 macros

6-Aug-2012

Fixed Meas:CAT and windows cat?

23-Mar-2012

Added Cal All

24-Jan-2012

Updated PSENsor command with 'any'.

5-Jan-2012

Added 6.0 CPU to list

26-Oct-2011

Added Abort command

11-Jan-2011

Minor edit

4-Nov-2010

Security for external sources (9.33)

14-Oct-2010

Added note to PMET:CAT?

16-Sep-2010

Added channel delete (A.09.30)

9-Apr-2010

Added Preset note to 'unleveled' command

30-Nov-2009

Added Help About read commands(9.1)

30-Jul-2009

Added syst:conf:edev and RTOF (9.0)

24-Feb-2009

Added Chan:Coup; Replaced True/False

4-Nov-2008

Added FIFO (8.33)

30-Oct-2008

Added several meas/trace/window query commands (8.33.x)

29-Sep-2008

Removed rev from Psensor example

17-Sep-2008

Added Syst:Pres vs *RST note

28-Aug-2008

Updated Launch Cal Wiz command

11-Feb-2008

Added Noise switch preference (8.2)

5-Feb-2007

Added Extra security and USB power meter commands

23-Feb-2007

Added touchscreen command

15-Nov-2006

Added Unleveled Error reporting

31-Oct-2006

Added PSRTrace command