S331P Site Master™ Programming Manual : All Mode Commands
 
All Mode Commands
 
:CONFigure:BASe:FACTorydefault
:CONFigure:BASe:MASTerreset
:INSTrument:NSELect <application-mode-number>
:INSTrument:SELect <"mode-identifier">
:PROGram:ETT:ABORtscript
:PROGram:ETT:LOADscript <"filename">
:PROGram:ETT:NEXTstep
:PROGram:ETT:STATe?
:SYSTem:PRESet
[:SENSe]:BASe:REMote 0|1|2
[:SENSe]:BASe:SCRNshot:SCHeme INVerted|STANdard
The commands in this section apply to all instrument modes.
*IDN?
Query Description
Provides information about the device. Return format: Anritsu,<model-number>/<options>,<serial-number>,<package-version>
Example
To get device information:
*IDN?
*OPC?
Query Description
Blocks the SCPI engine from receiving new commands until system completes all pending operations. Returns 1 for operation complete.
Example
To block until operation is complete:
*OPC?
:CONFigure:BASe:FACTorydefault
Cmd Description
This command sets system to factory default state.
Example
To set to factory default:
:CONF:BAS:FACT
:CONFigure:BASe:MASTerreset
Cmd Description
This command sets system to master reset state.
Example
To perform master reset:
:CONF:BAS:MAST
:FETCh:GPSData? {CURRent|LAST}
Query Description
Query returns the current or the last GPS data. If no parameter is entered, it defaults to return current GPS data. Latitude and longitude units are in radians. Altitude units are in meters. Return format: No H/W Found|No Fix|Good Fix (3D),<time-stamp>,<latitude>,<longitude>,<altitude>|Good Fix (2D),<time-stamp>,<latitude>,<longitude>
Param Description
Optional Param: GPS data collection type, default is CURRent.
Param Range
CURRent|LAST
Example
Query the current GPS data:
:FETC:GPSD? CURRent
:INSTrument:CATalog:FULL?
Query Description
Queries the available modes. ’CAA’2 for Advanced Cable Antenna Analyzer mode, ’Power Meter’6 for Power Meter, ’HI_PM’10 for High Accuracy Power Meter, ’cCAA’201 for Classic Cable Antenna Analyzer mode, ’VIP’202 for Visual Inspection Probe
Example
To query available application modes:
:INST:CAT:FULL?
:INSTrument:NSELect <application-mode-number>
:INSTrument:NSELect?
Cmd Description
Command sets the required application mode.
Query Description
Query returns which mode is currently selected. 2 for Advanced Cable Antenna Analyzer mode, 6 for Power Meter,10 for High Accuracy Power Meter, 201 for Classic Cable Antenna Analyzer mode, 202 for Visual Inspection Probe.
Param Type
Integer
Param Description
Application Mode
Param Range
2|6|10|201|202
Example
To set current application mode to Hi Accuracy Power Meter:
:INST:NSEL 10
:INSTrument:SELect <"mode-identifier">
:INSTrument:SELect?
Cmd Description
Command sets the required application mode.
Query Description
Query returns which mode is currently selected. "CAA" for Advanced Cable Antenna Analyzer mode, "cCAA" for Classic Cable Antenna Analyzer mode
Param Type
String
Param Description
Application mode identifier
Param Range
"CAA"|"cCAA"
Example
To set current application mode to Classic Cable Antenna Analyzer:
:INST:SEL "cCAA"
:PROGram:ETT:ABORtscript
Cmd Description
Command exits easy-test mode.
Example
To abort ETT mode:
:PROG:ETT:ABOR
:PROGram:ETT:LOADscript <"filename">
Cmd Description
Command begins easy-test mode with the given filename.
Param Description
Filename with .ett extension
Example
To enter ETT mode:
:PROG:ETT:LOAD "/internal/my-test.ett"
:PROGram:ETT:NEXTstep
Cmd Description
Command performs the next step while in easy-test mode.
Example
To proceed to the next step in ETT mode:
:PROG:ETT:NEXT
:PROGram:ETT:STATe?
Example
To get the ETT state:
:PROG:ETT:STAT?
:SYSTem:OPTions?
Query Description
Query returns option string delimited by "/".
Example
To query full option string:
:SYST:OPT?
:SYSTem:PRESet
Cmd Description
Presets the application to its default state. Use *OPC? to block till preset is complete.
Example
To perform preset:
:SYST:PRES
[:SENSe]:BASe:IPaddress?
Query Description
Query returns the IP address in a special format. Return value example: 2887436918 (to recover the actual IP address of 172.26.202.118, you need to convert the returned value to hex AC1ACA76 and then take the resulting 4 numbers (2 characters each, in hex) and convert them back to decimal.
Example
To query IP address:
:BAS:IP?
[:SENSe]:BASe:REMote 0|1|2
Cmd Description
Command sets instrument into local lock-out for remote operation. Send 0 is to get out of remote mode and restore front-panel operation, 1 to set remote mode with synchronous communication, and 2 to set remote mode with asynchronous communication.
Param Type
Integer
Param Range
1|0
Default Value
0
Example
To set the instrument to remote synchronous mode and perform a local lock-out:
:BAS:REM 1
[:SENSe]:BASe:SCRNshot:SCHeme INVerted|STANdard
[:SENSe]:BASe:SCRNshot:SCHeme?
Cmd Description
Command sets the screenshot setting scheme.
Query Description
Query returns the value that represents the current screenshot scheme.
Param Type
Character
Param Range
INVerted|STANdard
Default Value
INVerted
Example
To set the screen capture scheme to standard:
:BAS:SCRN:SCH STAN