S331L Site Master™ Programming Manual
General Information
About this Manual
Introduction
Remote Operation Setup and Interface
USB Interface Connection and Setup
Ethernet Interface Connection and Setup
Connectivity
Site Master LAN Connections
Sending SCPI Commands
USB Connectivity
Ethernet Connectivity
Programming with SCPI
Introduction
Introduction to SCPI Programming
SCPI Common Commands
SCPI Required Commands
SCPI Optional Commands
Subsystem Commands
Command Names
Hierarchical Command Structure
Query Commands
Data Parameters
Unit Suffixes
Notational Conventions
Notational Examples
Command Terminators
Formatting Conventions
All Mode Commands
:BASe:DIRectory:COPY <"source-directory">,<"destination-directory">
:BASe:DIRectory:DELete <"directory">, {1|0}
:BASe:DIRectory:MAKe <"directory">
:BASe:FILe:COPY <"source-filename">, <"destination-filename">
:BASe:FILe:DELete <"filename">
:CONFigure:BASe:FACTorydefault
:CONFigure:BASe:MASTerreset
:CONFigure:BASe:POWeroff 0|1
:CONFigure:VIP:ANALyze:AUTO ON|OFF|1|0
:FETCh:GPSData:RESet
:INSTrument:NSELect <application-mode-number>
:INSTrument:SELect <"mode-identifier">
:MMEMory:DELete <"filename">
:MMEMory:LOAD:STATe 1,<"filename">
:MMEMory:LOAD:TRACe 1,<"filename">
:MMEMory:STORe:PNG 0,<"filename">
:MMEMory:STORe:STATe 0,<"filename">
:MMEMory:STORe:TRACe <integer>,<"filename">
:PROGram:ETT:ABORtscript
:PROGram:ETT:LOADscript <"filename">
:PROGram:ETT:NEXTstep
:PROGram:ETT:STATe?
:SYSTem:CODeload
:SYSTem:PRESet
[:SENSe]:BASe:BRIGhtness <brightness-level>
[:SENSe]:BASe:NET:MANual:GATEway <"Default-Gateway">
[:SENSe]:BASe:NET:MANual:IP <"IP-address">
[:SENSe]:BASe:NET:MANual:SUBnet <"Subnet-Mask">
[:SENSe]:BASe:NET:MODE MANual|DHCP
[:SENSe]:BASe:NET:MODE:MANual:RESTart
[:SENSe]:BASe:REMote 0|1|2
[:SENSe]:BASe:SCRNshot:SCHeme INVerted|STANdard
[:SENSe]:BASe:TIME <time-in-seconds>
[:SENSe]:BASe:VOLume <volume-level>
[:SENSe]:BASe:VOLume:AUDio ON|OFF|1|0
Cable & Antenna Analyzer Mode Commands
:CALCulate#:LIMit:LOWer:SEGMent:ADD <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:LOWer:SEGMent:DELete
:CALCulate#:LIMit:LOWer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:LOWer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:LOWer[:STATe] OFF|ON|0|1
:CALCulate#:LIMit:UPPer:SEGMent:ADD <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:UPPer:SEGMent:DELete
:CALCulate#:LIMit:UPPer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:UPPer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:UPPer[:STATe] OFF|ON|0|1
:CALCulate:LIMit:ALARm OFF|ON|0|1
:CALCulate:LIMit:LOWer:SEGMent:ACTive <Index>
:CALCulate:LIMit:MESSage OFF|ON|0|1
:CALCulate:LIMit:MODe
:CALCulate:LIMit:PRESet
:CALCulate:LIMit:TYPE 0|1
:CALCulate:LIMit:UPPer:SEGMent:ACTive <Index>
:CALCulate:LIMit:VALue <amplitude>{dB}
:CALCulate:LIMit[:STATe] OFF|ON|0|1
:CALCulate:MARKer#:PEAK
:CALCulate:MARKer#:PEAK:BOUNded
:CALCulate:MARKer#:TRACking PEAK|VALLey|BNDPeak|BNDValley|OFF
:CALCulate:MARKer#:TYPE REFerence|DELTa
:CALCulate:MARKer#:VALLey
:CALCulate:MARKer#:VALLey:BOUNded
:CALCulate:MARKer#:X <value>{Hz|kHz|MHz|GHz,m|cm|mm,ft,ps|ns|us|ms|s}
:CALCulate:MARKer#[:STATe] OFF|ON|0|1
:CALCulate:MARKer:DISPlay MKRTable|MKRonly|AOFF
:CALCulate:MARKer:PRESet
:CALCulate:MATH:FUNCtion NONE|SUBTraction|ADDition|AVERage
:CALCulate:MATH:MEMorize
:CALCulate:TRANsform:DISTance:CABLoss <cable-loss>{ dB/m,dB/ft}
:CALCulate:TRANsform:DISTance:PVELocity <propagation-velocity>
:CALCulate:TRANsform:DISTance:STARt <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:STOP <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:UNIT METers|FEET
:CALCulate:TRANsform:DISTance:WINDow RECTangular|MSLobe|NSLobe|LSLobe
:CAPTure:STARt
:CAPTure:STOP
:CAPTure:TRACe#:DATA? FDATa|SDATa|FMEM|SMEM
:CONFigure:MEASure:DISPlay SINGle|DUAL
:CONFigure:MEASure:MODe RLFReq|RLDTf|SWRFreq|SWRDtf|CLFReq|TR2P|TRES|SMITh|PHASe
:DISPlay:UPDate ON|OFF|1|0
:DISPlay:WINDow:TRACe:STATe TRACe|MEMory|BOTH
:DISPlay:WINDow:TRACe:Y[:SCALe]:AUToscale
:DISPlay:WINDow:TRACe:Y[:SCALe]:BOTTom <amplitude>{dB}
:DISPlay:WINDow:TRACe:Y[:SCALe]:FULLscale
:DISPlay:WINDow:TRACe:Y[:SCALe]:TOP <amplitude>{dB}
:FORMat[:READings][:DATA] ASCii|INTeger,32|REAL,32
:FORMat[:READings][:DATA]:MULTiplier 1|1M
:INITiate#:DATA? FDATa|SDATa|FMEM|SMEM
:INITiate:CONTinuous OFF|ON|0|1
:INITiate:HOLD OFF|ON|0|1
:INITiate[:IMMediate]
:SOURce:POWer LOW|HIGH
[:SENSe]:CORRection:COLLect:ABORt
[:SENSe]:CORRection:COLLect:INITialize
[:SENSe]:CORRection:COLLect:LOAD
[:SENSe]:CORRection:COLLect:OPEN
[:SENSe]:CORRection:COLLect:SAVe
[:SENSe]:CORRection:COLLect:SHORt
[:SENSe]:CORRection:COLLect:THRU
[:SENSe]:CORRection:COLLect:TYPE RFP1|2PFP|RRP1|TRFP|2PES|TRES
[:SENSe]:CORRection:COLLect:ZERO
[:SENSe]:CORRection:INSTacal:CALibrate
[:SENSe]:CORRection:TYPE STANdard|FLEX
[:SENSe]:CORRection[:STATe] ON|OFF|1|0
[:SENSe]:FREQuency:CABLe <cable-list-index>
[:SENSe]:FREQuency:CABLe:NAMe <"cable-name">
[:SENSe]:FREQuency:STARt <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:FREQuency:STOP <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:RFON[:STATe] ON|OFF|1|0
[:SENSe]:SWEep:IFBW <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:SWEep:RESolution 130|259|517|1033|2065
[:SENSe]:SWEep:RFIMmunity HIGH|LOW|1|0
[:SENSe]:SWEep:TYPE CONTinuous|SINGle|EXTernal
[:SENSe]:TRACe:SELect 1|2
Examples
C/C++
Visual Basic
Visual Basic
Visual Basic
LabVIEW™
List of Commands by Mode
List of Commands, Alphabetical
S331L Site Master™ Programming Manual
Anritsu Company
This site works best with JavaScript enabled