background image

 

 

RIGOL

 

Programming Guide 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vector Signal Analysis   

Measurement Application 

Applicable to RSA5000-VSA 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Jan. 2019 

RIGOL

 (SUZHOU) TECHNOLOGIES, INC.

Summary of Contents for RSA5032

Page 1: ...RIGOL Programming Guide Vector Signal Analysis Measurement Application Applicable to RSA5000 VSA Jan 2019 RIGOL SUZHOU TECHNOLOGIES INC ...

Page 2: ......

Page 3: ...ormation in this publication replaces all previously released materials Information in this publication is subject to change without notice RIGOL shall not be liable for either incidental or consequential losses in connection with the furnishing use or performance of this manual as well as any information contained Any part of this document is forbidden to be copied photocopied or rearranged witho...

Page 4: ...lly denoted by the format of Key Name Bold Text Box For example FREQ denotes the FREQ key 2 Menu Keys The menu softkeys are usually denoted by the format of Menu Word Bold Character Shading For example Center Freq denotes the center frequency menu item under the FREQ function key 3 Connectors The connectors on the front or rear panel are usually denoted by the format of Connector Name Bold Square ...

Page 5: ...EMod MARKer n MAXimum PREVious 2 8 CALCulate DDEMod MARKer n MAXimum RIGHt 2 8 CALCulate DDEMod MARKer n MINimum 2 8 CALCulate DDEMod MARKer n MODE 2 9 CALCulate DDEMod MARKer n REFerence 2 9 CALCulate DDEMod MARKer n TRACe 2 10 CALCulate DDEMod MARKer n X 2 11 CALCulate DDEMod MARKer n Y IMAGinary 2 11 CALCulate DDEMod MARKer n Y REAL 2 12 CALCulate MARKer n SET CENTer 2 12 CALCulate MARKer n SET...

Page 6: ... 2 36 INITiate Command 2 37 INITiate BER RESTart 2 37 INITiate CONTinuous 2 37 INSTrument Commands 2 38 INSTrument COUPle FREQuency CENTer 2 38 INSTrument DEFault 2 38 INSTrument NSELect 2 39 INSTrument SELect 2 39 MMEMory Commands 2 40 MMEMory DELete 2 40 MMEMory LOAD FMT 2 40 MMEMory LOAD STATe 2 41 MMEMory LOAD TRACe DATA 2 41 MMEMory MOVE 2 42 MMEMory STORe FMT 2 42 MMEMory STORe SCReen 2 42 M...

Page 7: ...ONDition 2 62 STATus OPERation ENABle 2 62 STATus OPERation EVENt 2 63 STATus PRESet 2 63 STATus QUEStionable CONDition 2 63 STATus QUEStionable ENABle 2 63 STATus QUEStionable EVENt 2 64 SYSTem Commands 2 65 SYSTem BEEPer STATe 2 66 SYSTem COMMunicate LAN SELF APPLy 2 66 SYSTem COMMunicate LAN SELF AUToip STATe 2 66 SYSTem COMMunicate LAN SELF DHCP STATe 2 67 SYSTem COMMunicate LAN SELF IP ADDRes...

Page 8: ...MT DELay 2 83 TRIGger SEQuence FMT DELay STATe 2 84 TRIGger SEQuence FMT MASK 2 84 TRIGger SEQuence FMT MASK EDIT 2 85 TRIGger SEQuence FMT MASK RELative AMPLitude 2 85 TRIGger SEQuence FMT MASK RELative FREQuency 2 86 TRIGger SEQuence FMT MASK n BUILd 2 87 TRIGger SEQuence FMT MASK n DATA 2 87 TRIGger SEQuence FMT MASK n DELete 2 88 TRIGger SEQuence FMT MASK n NAME 2 88 TRIGger SEQuence FMT MASK ...

Page 9: ...This chapter introduces how to set up remote communication between the spectrum analyzer and the PC the remote control methods the syntax symbols parameters and abbreviation rules of the SCPI commands Contents in this chapter Build Remote Communication Remote Control Method SCPI Command Overview ...

Page 10: ...5000 to the USB HOST interface of the PC 2 Remote communication via LAN Make sure that your PC has been accessed to the local area network Check whether the local area network where your PC resides supports DHCP or auto IP mode If not you need to obtain the available network interface parameters including the IP address subnet mask default gateway and DNS Connect RSA5000 to the local area network ...

Page 11: ...hapter 2 in this manual to control RSA5000 by programming in LabVIEW Visual C and other development environments For details refer to descriptions in Chapter 3 in RSA5000 Programming Guide 2 Send SCPI commands via the PC software You can use the PC software to send commands to control RSA5000 remotely RIGOL Ultra Sigma is recommended You can download the software from RIGOL official website www ri...

Page 12: ... starts with and a colon is also used to separate the multiple level keywords freq represents the parameters available for setting represents query The command SENSe FREQuency CENTer and the parameter freq are separated by a space In some commands with parameters is often used to separate each parameter For example SYSTem DATE year month day Symbol Description The following four symbols are not pa...

Page 13: ...t the parameter to a decimal otherwise errors will occur 4 Consecutive Real Number Unless otherwise specified the parameter could be any value within the effective value range according to the accuracy requirement by default there are 9 digits after the decimal points 5 Discrete The parameter could only be one of the specified values and these values are discontinuous 6 ASCII String The parameter ...

Page 14: ......

Page 15: ...Tiate Command INSTrument Commands MMEMory Commands SENSe Commands STATus Commands SYSTem Commands TRACe Command TRIGger Commands Remarks 1 For the command set unless otherwise specified the query command returns N A without quotations in its return format if no specified option is installed If the queried function is disabled or improper type match is found the query command will return Error with...

Page 16: ...ALCulate DDEMod MARKer n MAXimum CALCulate DDEMod MARKer n MAXimum LEFT CALCulate DDEMod MARKer n MAXimum NEXT CALCulate DDEMod MARKer n MAXimum PREVious CALCulate DDEMod MARKer n MAXimum RIGHt CALCulate DDEMod MARKer n MINimum CALCulate DDEMod MARKer n MODE CALCulate DDEMod MARKer n REFerence CALCulate DDEMod MARKer n TRACe CALCulate DDEMod MARKer n X CALCulate DDEMod MARKer n Y IMAGinary CALCula...

Page 17: ...able the couple marker function moving any marker will make other markers that are not fixed or off move along with it Return Format The query returns 0 or 1 Example The following command disables the couple marker function CALCulate DDEMod MARKer COUPle STATe OFF or CALCulate DDEMod MARKer COUPle STATe 0 The following query returns 0 CALCulate DDEMod MARKer COUPle STATe CALCulate DDEMod MARKer TA...

Page 18: ...F ON 0 1 OFF 0 Return Format The query returns 0 or 1 Example The following command enables the continuous peak search function and marks the peak value with Marker 1 CALCulate DDEMod MARKer1 CPSearch STATe ON or CALCulate DDEMod MARKer1 CPSearch STATe 1 The following query returns 1 CALCulate DDEMod MARKer1 CPSearch STATe CALCulate DDEMod MARKer n FUNCtion Syntax CALCulate DDEMod MARKer n FUNCtio...

Page 19: ...dth 2 Remarks This command is only valid when you open the marker on the frequency domain data and enable the corresponding bandwidth function This command is used to set the left edge time when you select the time domain data source Return Format The query returns the left edge frequency or time of the signal in scientific notation Example The following command sets the left edge frequency of the...

Page 20: ...N Syntax CALCulate DDEMod MARKer n FUNCtion BAND SPAN freq CALCulate DDEMod MARKer n FUNCtion BAND SPAN Description Sets the bandwidth or the time span of the signal involved in the calculation for the band function Queries the bandwidth or the time span of the signal involved in the calculation for the band function Parameter Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 freq Consecutive Rea...

Page 21: ...DEMod MARKer n MAXimum LEFT Description Searches for the nearest peak which is located at the left side of the current peak and marks it with the specified marker Parameter Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 Remarks When no peak is found a prompt message No peak found is displayed on the screen Example The following command performs one left peak search and marks with Marker 2 CALC...

Page 22: ...6 7 8 Remarks When no peak is found a prompt message No peak found is displayed on the screen Example The following command performs one next higher peak search and marks with Marker 2 CALCulate DDEMod MARKer2 MAXimum PREVious CALCulate DDEMod MARKer n MAXimum RIGHt Syntax CALCulate DDEMod MARKer n MAXimum RIGHt Description Searches for the nearest peak which is located at the right side of the cu...

Page 23: ...LTa FIXed OFF CALCulate DDEMod MARKer n MODE Description Sets the type of the specified marker Queries the type of the specified marker Parameter Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 Keyword POSition DELTa FIXed OFF POSition Remarks POSition indicates the normal marker DELTa indicates difference between two data points FIXed indicates that the marker is fixed OFF turns off the select...

Page 24: ...wing command sets the reference marker for Marker 1 to 2 CALCulate DDEMod MARKer1 REFerence 2 The following query returns 2 CALCulate DDEMod MARKer1 REFerence CALCulate DDEMod MARKer n TRACe Syntax CALCulate DDEMod MARKer n TRACe integer CALCulate DDEMod MARKer n TRACe Description Sets the marker trace for the specified marker Queries the marker trace for the specified marker Parameter Name Type R...

Page 25: ...the X value of the delta marker relative to the reference marker When Fixed is selected for the marker mode and Constellation is selected for the trace format Marker X is used to determine the data points Return Format The query returns the X axis value of the marker in scientific notation Example The following command sets the X axis value of Marker 1 to 150 MHz CALCulate DDEMod MARKer1 X 1500000...

Page 26: ...Range Default n Discrete 1 2 3 4 5 6 7 8 real Consecutive Real Number Remarks This command sets the marker s in phase component real part of the Y value Return Format The query returns the Y axis value of the marker or the in phase component of the Y value in scientific notation Example The following command sets the Y axis value of Marker 1 to 0 325 CALCulate DDEMod MARKer1 Y REAL 0 325 The follo...

Page 27: ...ncy of the analyzer to half of the frequency difference between the two Delta markers CALCulate MARKer1 SET DELTa CENTer CALCulate MARKer n SET RLEVel Syntax CALCulate MARKer n SET RLEVel Description Sets the reference level of the analyzer to the amplitude of the specified marker Parameter Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 Remarks If the marker mode of the specified marker is Pos...

Page 28: ... start frequency of the analyzer to the frequency of Marker 3 Position CALCulate MARKer3 SET STARt CALCulate MARKer n SET STEP Syntax CALCulate MARKer n SET STEP Description Sets the center frequency step of the analyzer to the frequency of the specified marker Parameter Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 Remarks If the marker mode of the specified marker is Position or Fixed the c...

Page 29: ...Name Type Range Default n Discrete 1 2 3 4 5 6 7 8 Remarks If the marker mode of the specified marker is Position or Fixed the stop frequency will be set to the frequency of the marker If the specified marker mode is Delta the stop frequency will be set to the frequency of the Delta marker Example The following command sets the stop frequency of the analyzer to the frequency of Marker 2 Position C...

Page 30: ... CALibration ALL returns 1 Example The following command executes the self calibration immediately CALibration ALL CALibration AUTO Syntax CALibration AUTO OFF ON 0 1 CALibration AUTO Description Enables or disables auto calibration Queries the setting status of auto calibration Parameter Name Type Range Default Bool OFF ON 0 1 ON 1 Return Format The query returns 0 or 1 Example The following comm...

Page 31: ...and List CONFIgure BERate CONFigure DDEMod CONFIgure BERate Syntax CONFIgure BERate Description Sets the analyzer to be in the bit error rate measurement state CONFigure DDEMod Syntax CONFigure DDEMod Description Sets the analyzer to be in the digital demodulation measurement state ...

Page 32: ...ay DDEMod TRACe n FORMat DISPlay DDEMod TRACe n X SCALe COUPle DISPlay DDEMod TRACe n X SCALe RLEVel DISPlay DDEMod TRACe n X SCALe RPOSition DISPlay DDEMod TRACe n X SCALe SPAN DISPlay DDEMod TRACe n Y SCALe AUTO ONCE DISPlay DDEMod TRACe n Y SCALe PDIVision DISPlay DDEMod TRACe n Y SCALe RLEVel DISPlay DDEMod TRACe n Y UNIT PREFerence DISPlay DDEMod WINDow FORMat DISPlay ENABle DISPlay GRATicule...

Page 33: ...y BACKlight 50 The following query returns 50 DISPlay BACKlight DISPlay DDEMod TRACe n DDEMod EYE COUNt Syntax DISPlay DDEMod TRACe n DDEMod EYE COUNt real DISPlay DDEMod TRACe n DDEMod EYE COUNt Description Sets the eye length of the specified trace Queries the eye length of the specified trace Parameter Name Type Range Default n Discrete 1 2 3 4 real Consecutive Real Number 1 to 40 2 Return Form...

Page 34: ...od TRACe1 DDEMod SYMBol FORMat BINary The following query returns BIN DISPlay DDEMod TRACe1 DDEMod SYMBol FORMat DISPlay DDEMod TRACe n FEED Syntax DISPlay DDEMod TRACe n FEED CTIMe CSPEctrum MTIMe MSPEctrum RTIMe RSPEctrum EVTime EVSpectrum IQMError IQPError SYMB ol SUMMary RTTrace DISPlay DDEMod TRACe n FEED Description Sets the data source of the specified trace Queries the data source of the s...

Page 35: ...al part of data IMAGinary indicates the imaginary part of data VECTor indicates the I Q vector PHASe indicates wrap phase UPHas indicates unwrap phase MLINear indicates line magnitude Return Format The query returns IEYE QEYE CONS MLOG REAL IMAG VECT PHAS UPH or MLIN Example The following command sets the display format of Trace 1 to CONS DISPlay DDEMod TRACe1 FORMat CONS The following query retur...

Page 36: ...Mod TRACe n X SCALe RLEVel Description Sets the X axis reference of the selected trace Queries the X axis reference of the selected trace Parameter Name Type Range Default n Discrete 1 2 3 4 real Consecutive Real Number Time Domain Data 1e 12 to 1e 12 Frequency Domain Data 1THz to 1THz 25 19 1406 us 1 GHz Remarks This command is valide only when the X axis scale is set to Manual When the time doma...

Page 37: ...e RPOSition LEFT The following query returns LEFT DISPlay DDEMod TRACe1 X SCALe RPOSition DISPlay DDEMod TRACe n X SCALe SPAN Syntax DISPlay DDEMod TRACe n X SCALe SPAN real DISPlay DDEMod TRACe n X SCALe SPAN Description Sets the X axis width of the selected trace Queries the X axis width of the selected trace Parameter Name Type Range Default n Discrete 1 2 3 4 real Consecutive Real Number Time ...

Page 38: ...ce 1 DISPlay DDEMod TRACe1 Y SCALe AUTO ONCE DISPlay DDEMod TRACe n Y SCALe PDIVision Syntax DISPlay DDEMod TRACe n Y SCALe PDIVision rel DISPlay DDEMod TRACe n Y SCALe PDIVision Description Sets the Y axis scale of the specified trace Queries the Y axis scale of the specified trace Parameter Name Type Range Default n Discrete 1 2 3 4 rel Consecutive Real Number 1e 09 to 1e 12 0 3 Remarks The scal...

Page 39: ...race 1 to 10 dB DISPlay DDEMod TRACe1 Y SCALe RLEVel 10 The following query returns 1 000000000e 01 DISPlay DDEMod TRACe1 Y SCALe RLEVel DISPlay DDEMod TRACe n Y UNIT PREFerence Syntax DISPlay DDEMod TRACe n Y UNIT PREFerence PEAK RMS POWer DISPlay DDEMod TRACe n Y UNIT PREFerence Description Sets the Y axis unit of the specified trace Queries the Y axis unit of the specified trace Parameter Name ...

Page 40: ...indow indicates left right and bottom windows UDRWindow indicates left bottom and right windows QUAD indicates four windows Return Format The query returns SING LRW UDW LRDW UDRW or QUAD Example The following command sets the trace window layout to SINGle DISPlay DDEMod WINDow FORMat SINGle The following query returns SING DISPlay DDEMod WINDow FORMat DISPlay ENABle Syntax DISPlay ENABle OFF ON 0 ...

Page 41: ...following command enables display of the graticule DISPlay GRATicule STATe ON or DISPlay GRATicule STATe 1 The following query returns 1 DISPlay GRATicule STATe DISPlay HDMI STATe Syntax DISPlay HDMI STATe OFF ON 0 1 DISPlay HDMI STATe Description Enables or disables HDMI output Queries the status of HDMI output Parameter Name Type Range Default Bool OFF ON 0 1 OFF 0 Return Format The query return...

Page 42: ...amming Guide FETCh Commands Command List FETCh BER FETCh DDEMod FETCh BER Syntax FETCh BER Description Queries the bit error rate measurement results FETCh DDEMod Syntax FETCh DDEMod Description Queries the digital demodulation measurement results ...

Page 43: ...gnificant byte LSB SWAPped indicates that the byte sequence begins with the least significant byte LSB and ends with the most significant byte MSB Return Format The query returns NORM or SWAP Example The following command queries the binary data byte order for data transmission to NORMal FORMat BORDer NORMal The following query returns NORM FORMat BORDer FORMat TRACe DATA Syntax FORMat TRACe DATA ...

Page 44: ...REAL 32 binary 32 bit real values REAL 64 binary 64 bit real values Return Format The query returns ASC 8 INT 32 REAL 32 or REAL 64 Example The following command sets the input output format of the trace data to REAL 32 FORMat TRACe DATA REAL 32 The following query returns REAL 32 FORMat TRACe DATA ...

Page 45: ...g Guide 2 31 IEEE 488 2 Common Commands IEEE 488 2 common commands are used to operate or query the status registers For the structure of the status register refer to STATus Commands Command List CLS ESE ESR IDN OPC RCL RST SAV SRE STB TRG TST WAI ...

Page 46: ... ranging from 00000000 0 in decimal to 11111111 255 in decimal and of which Bit 1 and Bit 6 are 0 Return Format The query returns an integer The integer equals to the binary weighted sum of all the bits set in the register For example the query returns 144 if Bit 4 16 in decimal and Bit 7 128 in decimal are enabled Example The following command sets the enable register for the standard event statu...

Page 47: ...ormat Rigol Technologies model serial number XX XX XX model instrument model serial number serial number of the instrument XX XX XX software version of the instrument Example The following query returns Rigol Technologies RSA5065 RSA5A010200001 00 02 00 IDN OPC Syntax OPC OPC Description Sets Bit 0 Operation Complete OPC in the standard event status register to 1 after the current operation is fin...

Page 48: ... Description Sets the enable register for the status byte register Queries the enable register for the status byte register Parameter Name Type Range Default value Integer Refer to Remarks 0 Remarks Bit 0 and Bit 1 are not used and are always treated as 0 therefore the range of value are the decimal numbers corresponding to the binary numbers ranging from 00000000 0 in decimal to 11111111 255 in d...

Page 49: ...s ranging from 00000000 0 in decimal to 11111111 255 in decimal and of which Bit 0 and Bit 1 are 0 Return Format The query returns an integer The integer equals to the binary weighted sum of all the bits set in the register For example the query returns 144 if Bit 4 16 in decimal and Bit 7 128 in decimal are enabled Example The following query returns 24 Bit 3 and Bit 4 have been set STB TRG Synta...

Page 50: ...RIGOL Chapter 2 Command System 2 36 VSA Programming Guide WAI Syntax WAI Description Waits for all the pending operations to complete before executing any additional commands ...

Page 51: ...measurement function is selected INITiate CONTinuous Syntax INITiate CONTinuous OFF ON 0 1 INITiate CONTinuous Description Selects continuous ON 1 or single OFF 0 sweep mode Queries the current sweep mode Parameter Name Type Range Default Bool OFF ON 0 1 ON 1 Return Format The query returns 0 or 1 Example The following command sets the instrument to sweep continuously INITiate CONTinuous ON or INI...

Page 52: ...E NONE Remarks NONE turns off the global center frequency ALL turns on the global center frequency If you execute this command in any mode the center frequency of the current mode is set to the global center frequency Adjusting the center frequency in a mode while the global center frequency is on will modify the global center frequency Return Format The query returns ALL or NONE Example The follo...

Page 53: ...ameter Name Type Range Default Discrete 1 2 3 4 1 Keyword SA RTSA VSA EMI SA Remarks The above parameters 1 2 3 4 correspond to SA RTSA VSA EMI respectively After running the command of switching the working mode we recommend you set the timeout value to 8 s or perform the next operation after a delay of 8 s Example The following command sets the working mode of the instrument to VSA INSTrument NS...

Page 54: ...MMEMory DELete file_name Description Deletes a specified file Parameter Name Type Range Default file_name ASCII String Remarks file_name should contain the path and the filename This operation fails if the file with the specified filename does not exist Example The following command deletes the state1 sta file from the vsa state folder MMEMory DELete vsa state state1 sta MMEMory LOAD FMT Syntax MM...

Page 55: ...ils if the file with the specified filename does not exist Example The following command loads the state file state1 sta to the instrument MMEMory LOAD STATe state1 sta MMEMory LOAD TRACe DATA Syntax MMEMory LOAD TRACe DATA label file_name Description Loads the specified measurement data file suffixed with csv Parameter Name Type Range Default label Keyword TRACE1 TRACE2 TRACE3 TRACE4 file_name AS...

Page 56: ... state1 sta vsa state state2 sta MMEMory STORe FMT Syntax MMEMory STORe FMT label file_name Description Saves the FMT file with a specified filename suffixed with csv to the default path mode name mask Parameter Name Type Range Default label Keyword UPPer LOWer file_name ASCII String Remarks If the specified file already exists overwrite it Example The following command saves the upper mask FMT fi...

Page 57: ...ified filename suffixed with sta to the default path mode name state Parameter Name Type Range Default file_name ASCII String Remarks If the specified file already exists overwrite it Example The following command saves the current instrument state with the filename state sta to the folder vsa state MMEMory STORe STATe state MMEMory STORe TRACe DATA Syntax MMEMory STORe TRACe DATA label file_name ...

Page 58: ... SENSe DDEMod LOAD KNOWndata SENSe DDEMod MODulation SENSe DDEMod MSK FORMat SENSe DDEMod PPSYmbol SENSe DDEMod RTTrace DETector SENSe DDEMod SRATe SENSe DDEMod STANdard PRESet SENSe DDEMod SWEep POINts SENSe DDEMod SYNC ALENgth SENSe DDEMod SYNC BURSt RUNIn SENSe DDEMod SYNC BURSt STATe SENSe DDEMod SYNC SLENgth SENSe DDEMod SYNC SWORd OFFSet SENSe DDEMod SYNC SWORd PATTern SENSe DDEMod SYNC SWOR...

Page 59: ...Put MAGNitude Syntax INPut IMPedance 50 75 INPut IMPedance SENSe CORRection IMPedance INPut MAGNitude 50 75 SENSe CORRection IMPedance INPut MAGNitude Description Sets the input impedance for voltage to power conversion The unit is Ω Queries the input impedance for voltage to power conversion Parameter Name Type Range Default Discrete 50 75 50 Remarks If the output impedance of the system under me...

Page 60: ...NSe CORRection SA RF GAIN SENSe DDEMod ALPHa Syntax SENSe DDEMod ALPHa real SENSe DDEMod ALPHa Description Sets the roll off factor of the raised cosine or the BT value of the Gaussian filter Queries the roll off factor of the raised cosine or the BT value of the Gaussian filter Parameter Name Type Range Default real Consecutive Real Number 0 05 to 100 0 22 Return Format The query returns the roll...

Page 61: ...ement NONE RRCosine GAUSsian RECTangle USER n SENSe DDEMod FILTer MEASurement Description Sets the measurement filter type Queries the measurement filter type Parameter Name Type Range Default Keyword NONE RRCosine GAUSsian RECTangle USER RRCosine n Discrete 1 2 3 4 5 6 Remarks NONE disables the filter RRCosine indicates the root raised cosine GAUSsian indicates the Gaussian filter RECTangle indic...

Page 62: ...llowing query returns 3 215250000e 04 2 948170000e 03 2 500879000e 03 1 910775000 03 5 052538000e 03 SENSe DDEMod FILTer MEASurement USER1 DATA SENSe DDEMod FILTer REFerence Syntax SENSe DDEMod FILTer REFerence RCOSine RRCosine GAUSsian RECTangle HSINe USER n SENSe DDEMod FILTer REFerence Description Sets the reference filter type Queries the reference filter type Parameter Name Type Range Default...

Page 63: ...a of the reference user defined filter 1 SENSe DDEMod FILTer REFerence USER1 DATA 0 000321525 0 00294817 0 002500879 0 001910775 0 005052538 The following query returns 3 215250000e 04 2 948170000e 03 2 500879000e 03 1 910775000 03 5 052538000e 03 SENSe DDEMod FILTer REFerence USER1 DATA SENSe DDEMod FSK DEViation REFerence Syntax SENSe DDEMod FSK DEViation REFerence freq SENSe DDEMod FSK DEViatio...

Page 64: ... ON 1 indicates that Auto mode is selected OFF 0 indicates that Manual mode is selected This command is only valid when you select FSK as the modulation format Return Format The query returns 0 or 1 Example The following command sets the reference frequency offset mode in the FSK modulation to Auto SENSe DDEMod FSK DEViation REFerence AUTO ON or SENSe DDEMod FSK DEViation REFerence AUTO 1 The foll...

Page 65: ... mode Queries the modulation mode Parameter Name Type Range Default Keyword QAM16 QAM32 QAM64 BPSK QPSK OQPSK DQPSK PSK8 PI4DQPSK PI8DPSK8 DPSK8 FS K2 FSK4 FSK8 MSK ASK2 ASK4 QPSK Return Format The query returns QAM16 QAM32 QAM64 BPSK QPSK OQPSK DQPSK PSK8 PI4DQPSK PI8DPSK8 DPSK8 FSK2 FSK4 FSK8 MSK ASK2 or ASK4 Example The following command sets the modulation mode to QPSK SENSe DDEMod MODulation ...

Page 66: ...Queries points symbol in digital demodulation Parameter Name Type Range Default integer Discrete 4 8 16 4 Return Format The query returns points symbol in integer Example The following command sets points symbol to 4 SENSe DDEMod PPSYmbol 4 The following query returns 4 SENSe DDEMod PPSYmbol SENSe DDEMod RTTrace DETector Syntax SENSe DDEMod RTTrace DETector POSitive NEGative AVERage SAMple SENSe D...

Page 67: ... is 1 kHz The maximum symbol rate SRmax SPmax 1 28 points symbol Wherein SPmax is the maximum span If the option RSA5000 B40 is not installed Spmax is 25 MHz If the option RSA5000 B40 is installed Spmax is 40 MHz Return Format The query returns the symbol rate in scientific notation Example The following command sets the symbol rate to 1 MHz SENSe DDEMod SRATe 1000000 The following query returns 1...

Page 68: ...The minimum capture length is 10 The maximum capture length MImax is determined by points symbol When setting points symbol to 4 MImax is 4096 when setting points symbol to 8 MImax is 2048 when setting points symbol to 16 MImax is 1024 Return Format The query returns the number of symbols in integer Example The following command sets the number of symbols to 200 SENSe DDEMod SWEep POINts 200 The f...

Page 69: ...eter Name Type Range Default interger Integer 0 to 16384 0 Remarks This command is valide only when the burst search function is enabled Return Format The query returns the burst search run in in integer Example The following command sets the burst search run in to 50 SENSe DDEMod SYNC BURSt RUNIn 50 The following query returns 50 SENSe DDEMod SYNC BURSt RUNIn SENSe DDEMod SYNC BURSt STATe Syntax ...

Page 70: ...returns the burst search length in scientific notation Example The following command sets the burst search length to 200 μs SENSe DDEMod SYNC SLENgth 0 0002 The following query returns 2 000000000e 04 SENSe DDEMod SYNC SLENgth SENSe DDEMod SYNC SWORd OFFSet Syntax SENSe DDEMod SYNC SWORd OFFSet integer SENSe DDEMod SYNC SWORd OFFSet Description Sets the sync offset of the sync search Queries the s...

Page 71: ...h to 1011010 SENSe DDEMod SYNC SWORd PATTern 1011010 The following query returns 1011010 SENSe DDEMod SYNC SWORd PATTern SENSe DDEMod SYNC SWORd STATe Syntax SENSe DDEMod SYNC SWORd STATe OFF ON 0 1 SENSe DDEMod SYNC SWORd STATe Description Enables or disables the sync word search Queries the setting status of the sync word search Parameter Name Type Range Default Bool OFF ON 0 1 OFF 0 Return Form...

Page 72: ...returns 2 000000000e 06 SENSe FREQuency CENTer SENSe FREQuency CENTer STEP AUTO Syntax SENSe FREQuency CENTer STEP AUTO OFF ON 0 1 SENSe FREQuency CENTer STEP AUTO Description Enables or disables the auto setting mode of the CF step Queries the status of the auto setting mode of the CF step Parameter Name Type Range Default Bool OFF ON 0 1 ON 1 Return Format The query returns 0 or 1 Example The fo...

Page 73: ... frequency span of the current channel Return Format The query returns the span in scientific notation The unit is Hz Example The following query returns 3 125000000e 06 SENSe FREQuency SPAN SENSe FREQuency STARt Syntax SENSe FREQuency STARt freq SENSe FREQuency STARt Description Sets the start frequency Queries the start frequency Parameter Name Type Range Default freq Consecutive Real Number 0 H...

Page 74: ...eturns 1 000000000e 07 SENSe FREQuency STOP SENSe POWer RF RANGe Syntax SENSe POWer RF RANGe real SENSe POWer RF RANGe Description Sets the amplitude of the largest sinusoidal input signal without being clipped by the IF ADC Queries the amplitude of the largest sinusoidal input signal without being clipped by the IF ADC Parameter Name Type Range Default real Integer 15 dBm to 25 dBm 20 dBm Return ...

Page 75: ...the following figure The STATus commands are used to set and query the questionable status register and operation status register IEEE488 2 common commands can be used to operate on the standard event status register and status byte register Command List STATus OPERation CONDition STATus OPERation ENABle STATus OPERation EVENt STATus PRESet STATus QUEStionable CONDition STATus QUEStionable ENABle ...

Page 76: ...ion Status Register is shown in the following table Bit 0 2 Bit 5 7 Bit 13 and Bit 14 are reserved You can set their values but they will not affect the system Bit 15 and Bit 12 8 are not used and are always treated as 0 Therefore the parameter integer can be any decimal value that corresponds to the binary weighted sum of the bits that range from 0000000000000000 0 in decimal to 1111111111111111 ...

Page 77: ...Set Description Clears the enable register of the Operation Status Register and Questionable Status Register STATus QUEStionable CONDition Syntax STATus QUEStionable CONDition Description Queries the condition register of the Questionable Status Register Return Format The query returns the condition register of the Questionable Status Register in integer For example 0 STATus QUEStionable ENABle Sy...

Page 78: ...tion 0 1 Reserved 1 2 Reserved 2 4 Reserved 3 8 Reserved 4 16 Reserved 5 32 Reserved 6 64 Reserved 7 128 Reserved 8 256 Reserved 9 0 Not Used 10 0 Not Used 11 0 Not Used 12 0 Not Used 13 8192 Reserved 14 16384 Reserved 15 0 Not Used Return Format The query returns the enable register of the Questionable Status Register in integer Example The following command sets the enable register of the Questi...

Page 79: ...YSTem COMMunicate LAN SELF IP DNSPreferred SYSTem COMMunicate LAN SELF IP DNSServer SYSTem COMMunicate LAN SELF IP GATeway SYSTem COMMunicate LAN SELF IP SUBMask SYSTem COMMunicate LAN SELF MANuip STATe SYSTem COMMunicate LAN SELF MDNS STATe SYSTem COMMunicate LAN SELF RESet SYSTem CONFigure INFormation SYSTem DATE SYSTem FSWitch STATe SYSTem LANGuage SYSTem LKEY SYSTem OPTion STATe SYSTem PON TYP...

Page 80: ...em COMMunicate LAN SELF APPLy Description Applies the LAN interface parameter settings SYSTem COMMunicate LAN SELF AUToip STATe Syntax SYSTem COMMunicate LAN SELF AUToip STATe OFF ON 0 1 SYSTem COMMunicate LAN SELF AUToip STATe Description Enables or disables the auto IP setting mode Queries the status of the auto IP setting mode Parameter Name Type Range Default Bool OFF ON 0 1 OFF 0 Remarks The ...

Page 81: ...and Manual IP These three modes cannot be disabled at the same time ON 1 enables the DHCP configuration mode OFF 0 disables the DHCP configuration mode and selects the auto IP mode Return Format The query returns 0 or 1 Example The following command enables the DHCP configuration mode SYSTem COMMunicate LAN SELF DHCP STATe ON or SYSTem COMMunicate LAN SELF DHCP STATe 1 The following query returns ...

Page 82: ...ueries the mode to obtain the DNS Parameter Name Type Range Default Bool OFF ON 0 1 OFF 0 Remarks ON 1 enables the auto mode of DNS that is selects the auto mode OFF 0 disables the auto mode of DNS that is selects the manual mode Return Format The query returns 0 or 1 Example The following command enables the auto mode of DNS SYSTem COMMunicate LAN SELF IP DNS STATe ON or SYSTem COMMunicate LAN SE...

Page 83: ...Tem COMMunicate LAN SELF IP DNSPreferred SYSTem COMMunicate LAN SELF IP DNSServer ip_address SYSTem COMMunicate LAN SELF IP DNSServer Description Sets the preferred address for the DNS Queries the preferred address for the DNS Parameter Name Type Range Default ip_address ASCII String Refer to Remarks Remarks The format of ip_address is nnn nnn nnn nnn The range for the first segment nnn of the add...

Page 84: ...g command sets the default gateway to 172 16 3 1 SYSTem COMMunicate LAN SELF IP GATeway 172 16 3 1 The following query returns 172 16 3 1 SYSTem COMMunicate LAN SELF IP GATeway SYSTem COMMunicate LAN SELF IP SUBMask Syntax SYSTem COMMunicate LAN SELF IP SUBMask ip_address SYSTem COMMunicate LAN SELF IP SUBMask Description Sets the subnet mask Queries the subnet mask Parameter Name Type Range Defau...

Page 85: ...following command enables the manual IP setting mode SYSTem COMMunicate LAN SELF MANuip STATe ON or SYSTem COMMunicate LAN SELF MANuip STATe 1 The following query returns 1 SYSTem COMMunicate LAN SELF MANuip STATe SYSTem COMMunicate LAN SELF MDNS STATe Syntax SYSTem COMMunicate LAN SELF MDNS STATe OFF ON 0 1 SYSTem COMMunicate LAN SELF MDNS STATe Description Enables or disables the state of the ne...

Page 86: ...es the model serial number software and hardware version number and firmware version number Return Format The query returns the system information For example Model RSA5065 SN RSA5B192000020 Main Board 00 01 00 Keyboard 00 01 00 CPU 00 01 00 SPU 00 01 02 WPU 00 01 00 BOOT 00 01 00 OS 00 01 00 Firmware 00 01 00 Note When you use RSA5065 TG RSA5032 TG the query also returns information about TG Boar...

Page 87: ... on the front panel is turned on or off Parameter Name Type Range Default Bool OFF ON 0 1 ON 1 Return Format The query returns 0 or 1 Example The following command sets the power switch on the front panel to be turned off SYSTem FSWitch STATe OFF or SYSTem FSWitch STATe 0 The following query returns 0 SYSTem FSWitch STATe SYSTem LANGuage Syntax SYSTem LANGuage ENGLish CHINese SYSTem LANGuage Descr...

Page 88: ...ing command installs the option RSA5000 PA SYSTem LKEY RSA5000 PA 8AD12B8EBC5DF492D1D4289B7CBA5B6150BF6F5D752D645C36D74530B05F39B49C461B2 3A50D6C94A34E06782AC4380070B0D1A86BA84E02768391FFD70C2103 The following query returns 8AD12B8EBC5DF492D1D4289B7CBA5B6150BF6F5D752D645C36D74530B05F39B49C461B23A50D6C94A3 4E06782AC4380070B0D1A86BA84E02768391FFD70C2103 SYSTem LKEY RSA5000 PA SYSTem OPTion STATe Syn...

Page 89: ...ettings LAST indicates the last setting Return Format The query returns PRES or LAST Example The following command sets the instrument to recall the last setting SYSTem PON TYPE LAST The following query returns LAST SYSTem PON TYPE SYSTem PRESet Syntax SYSTem PRESet Description Recalls the preset settings of the system and recovers the system to the state specified by the SYSTem PRESet TYPE comman...

Page 90: ...he following query returns USER5 SYSTem PRESet TYPe SYSTem PRESet USER SAVE Syntax SYSTem PRESet USER SAVE Description Saves the current user setting Remarks If the current preset type is FACTory save the current user setting to User1 If the current preset type is User1 through User6 save the current user setting to the specified user SYSTem SCPI DISPlay Syntax SYSTem SCPI DISPlay OFF ON 0 1 SYSTe...

Page 91: ...iles and executes the factory resetting operation SYSTem SHOW Syntax SYSTem SHOW OFF SYSTem OPTion LICense SYSTem SHOW Description Displays the system related information Queries the system related information Parameter Name Type Range Default Keyword OFF SYSTem OPTion LICense OFF Remarks OFF turns off the system information display SYSTem displays the system information OPTion displays the option...

Page 92: ...ueries the system time of the instrument Parameter Name Type Range Default hour ASCII String 00 to 23 minute ASCII String 00 to 59 second ASCII String 00 to 59 Return Format The query returns the current system time in the format of HH MM SS Example The following command sets the system time to 15 10 30 SYSTem TIME 15 10 30 The following query returns 15 10 30 SYSTem TIME ...

Page 93: ...race 1 that is 1 390530e 01 7 108871e 01 7 089631e 01 6 992984e 01 7 010770e 01 TRACe1 DATA 2 When the data format is REAL 32 The following query returns data of Trace 2 that is 90000032041111111111111111111111111110011111111111111111111111111111011101111111 11111111111111111111010011 Note The PC software converts the returned binary data to ASCII format Therefore if you use the PC software to per...

Page 94: ...IGger SEQuence FMT MASK RELative FREQuency TRIGger SEQuence FMT MASK n BUILd TRIGger SEQuence FMT MASK n DATA TRIGger SEQuence FMT MASK n DELete TRIGger SEQuence FMT MASK n NAME TRIGger SEQuence FMT MASK n NEW TRIGger SEQuence HOLDoff TRIGger SEQuence HOLDoff STATe TRIGger SEQuence LEVel TRIGger SEQuence SOURce TRIGger2 MODE TRIGger SEQuence ATRigger Syntax TRIGger SEQuence ATRigger time TRIGger S...

Page 95: ...ON 0 1 OFF 0 Return Format The query returns 1 or 0 Example The following command enables the auto trigger function TRIGger SEQuence ATRigger STATe ON or TRIGger SEQuence ATRigger STATe 1 The following query returns 1 TRIGger SEQuence ATRigger STATe TRIGger SEQuence EXTernal n DELay Syntax TRIGger SEQuence EXTernal n DELay time TRIGger SEQuence EXTernal n DELay Description Sets the delay time for ...

Page 96: ... trigger delay function Parameter Name Type Range Default n Discrete 1 2 Bool OFF ON 0 1 OFF 0 Remarks When the parameter n is set to 1 it indicates External Trigger 1 when set to 2 it indicates External Trigger 2 Return Format The query returns 1 or 0 Example The following command enables the delay function of External Trigger 1 TRIGger SEQuence EXTernal1 DELay STATe ON or TRIGger SEQuence EXTern...

Page 97: ...ce FMT CRITeria ENTer LEAVe INSide OUTSide ELEave LENTer TRIGger SEQuence FMT CRITeria Description Sets the trigger criteria for FMT Queries the trigger criteria for FMT Parameter Name Type Range Default Keyword ENTer LEAVe INSide OUTSide ELEave LENTer ENTer Remarks This command is only valid when you select FMT to be the trigger source Return Format The query returns ENT LEAV INS OUTS ELE or LENT...

Page 98: ... 000000000e 01 TRIGger SEQuence FMT DELay TRIGger SEQuence FMT DELay STATe Syntax TRIGger SEQuence FMT DELay STATe OFF ON 0 1 TRIGger SEQuence FMT DELay STATe Description Enables or disables the FMT trigger delay function Queries the status of the FMT trigger delay function Parameter Name Type Range Default Bool OFF ON 0 1 OFF 0 Remarks This command is only valid when you select FMT to be the trig...

Page 99: ...SEQuence FMT MASK EDIT Description Sets the mask type that is currently viewed edited Queries the mask type that is currently viewed edited Parameter Name Type Range Default Keyword UPPer LOWer UPPer Remarks This command is only valid when you select FMT to be the trigger source Return Format The query returns UPP or LOW Example The following command sets the mask that is currently viewed edited t...

Page 100: ...itude ON or TRIGger SEQuence FMT MASK RELative AMPLitude 1 The following query returns 1 TRIGger SEQuence FMT MASK RELative AMPLitude TRIGger SEQuence FMT MASK RELative FREQuency Syntax TRIGger SEQuence FMT MASK RELative FREQuency OFF ON 0 1 TRIGger SEQuence FMT MASK RELative FREQuency Description Sets whether the frequencies of the mask points are coupled to the center frequency of the instrument...

Page 101: ...indicates that the upper mask is being edited when it is set to 2 it indicates that the lower mask is being edited This command is only valid when you select FMT to be the trigger source Example The following command creates a upper mask TRIGger SEQuence FMT MASK1 BUILd TRIGger SEQuence FMT MASK n DATA Syntax TRIGger SEQuence FMT MASK n DATA freq ampl freq ampl TRIGger SEQuence FMT MASK n DATA Des...

Page 102: ... the upper mask when set to 2 edit the lower mask This command is only valid when you select FMT to be the trigger source TRIGger SEQuence FMT MASK n NAME Syntax TRIGger SEQuence FMT MASK n NAME string TRIGger SEQuence FMT MASK n NAME Description Saves the FMT file with a specified filename suffixed with csv to the default path mode name mask Queries the currently saved FMT filename Parameter Name...

Page 103: ...Gger SEQuence HOLDoff Description Sets the trigger holdoff time Queries the trigger holdoff time Parameter Name Type Range Default time Consecutive Real Number 100 μs to 500 ms 100 ms Remarks This command is only valid when the trigger holdoff function is enabled Return Format The query returns the trigger holdoff time in scientific notation The unit is s Example The following command sets the syn...

Page 104: ...trigger level of the IF power trigger Parameter Name Type Range Default ampl Consecutive Real Number 140 dBm to 30 dBm 0 dBm Remarks This command is only valid when IF power trigger is selected Return Format The query returns the trigger level in scientific notation Example The following command sets the trigger level of IF power to 10 dBm TRIGger SEQuence LEVel 10 The following query returns 1 00...

Page 105: ... trigger TRIGger SEQuence SOURce IMMediate The following query returns IMM TRIGger SEQuence SOURce TRIGger2 MODE Syntax TRIGger2 MODE IN OUT 0 1 TRIGger2 MODE Description Sets the interface type of External Trigger 2 Queries the interface type of External Trigger 2 Parameter Name Type Range Default Keyword IN OUT 0 1 IN 0 Remarks IN 0 indicates the input interface OUT 1 indicates the output interf...

Page 106: ......

Page 107: ...cale Div 300 m Range 20 dBm BW FFT Window Rectangular Trigger Source Free Run Slope Positive Delay Off 1 us Power 0 dBm Hold off Off 100 ms Auto Trig Off 100 ms Mask Type Upper Trigger Mask Upper Trigger Criteria Enter Active Mask Upper Frequency 0 Hz Amplitude 0 dB X Offset 0 Hz Y Offset 0 dB X Axis Type Relative Y Axis Type Relative Trace Selected Trace Trace1 Data Mea Time Symbol Trace Format I...

Page 108: ...indow Marker Selected Marker Marker1 Marker Mode Position Reference Marker Marker2 Marker Trace Trace1 Couple Markers Off Marker Table Off Marker X 25 symbol Peak Cont Peak Off Marker Func Band Function Off Band Span 3 125 kHz System 1 Power On Preset Preset Type Default Align Auto On LAN Setting Mode DHCP Graticule On HDMI On HDMI Resolution 1280 720 60Hz LCD On LCD Backlight 100 Power Switch Def...

Page 109: ...OL guarantees free replacement or repair for the defective product To get repair service please contact with your nearest RIGOL sales or service office There is no other warranty expressed or implied except such as is expressly set forth herein or other applicable warranty card There is no implied warranty of merchantability or fitness for a particular purpose Under no circumstances shall RIGOL be...

Reviews: