background image

Parameter

Name

Type

Range

Default

<channel>

Discrete

ALL|1|2|3|4|5|6|7|8

ALL

Remarks

When <

channel> is set to ALL, it indicates all the channels.

You need to run this command first to configure the specified channel, then run

the 

:MMEMory:LOAD

 or 

:MMEMory:SAVe

 command to save or load the file of

the specified channel.

Return Format

N/A

Example

N/A

3.5.9

:MMEMory:LDISk:SPACe

Syntax

:MMEMory:LDISk:SPACe?

Description

Queries the space information of the local disk (Disk C).

Parameter

N/A

Remarks

N/A

Return Format

The query returns the space information of Disk C, including "Used space" and "Free
space".

For example, Used:512 k,Free:1048064 k.

Example

N/A

 Command System

102

Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.

Summary of Contents for DSG5000 Series

Page 1: ......

Page 2: ...ice 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 without prior written approval of RIGOL Product Certification RIGOL guarantees that this product conforms to the national and industrial stan...

Page 3: ...ction FLATness COUNt 13 3 1 4 3 SOURce RF CORRection FLATness LIST 14 3 1 4 4 SOURce RF CORRection FLATness DELete 15 3 1 4 5 SOURce RF CORRection FLATness PAIR 16 3 1 4 6 SOURce RF CORRection FLATness LOAD 16 3 1 4 7 SOURce RF CORRection FLATness SAVe 17 3 1 5 SOURce RF Sweep Commands 18 3 1 5 1 SOURce RF SWEep DIRection 18 3 1 5 2 SOURce RF SWEep EXECute 18 3 1 5 3 SOURce RF SWEep LIST ADDList 1...

Page 4: ...6 SOURce RF AM Commands 38 3 1 6 1 SOURce RF AM DEPTh 38 3 1 6 2 SOURce RF AM FREQuency 38 3 1 6 3 SOURce RF AM WAVEform 39 3 1 6 4 SOURce RF AM STATe 40 3 1 6 5 SOURce RF AM SOURce 41 3 1 6 6 SOURce RF AM EQUal LEVel 42 3 1 6 7 SOURce AM EXT COUP 42 3 1 6 8 SOURce AM EXT IMP 43 3 1 7 SOURce RF FM Commands 44 3 1 7 1 SOURce RF FM DEViation 44 3 1 7 2 SOURce RF FM FREQuency 45 3 1 7 3 SOURce RF FM ...

Page 5: ...5 SOURce RF PULM TRIGger EXTernal GATE POLarity 65 3 1 9 16 SOURce RF PULM TRIGger EXTernal SLOPe 66 3 1 9 17 SOURce RF PULM TRIGger MODE 67 3 1 9 18 SOURce RF PULM WIDTh 69 3 1 10 SOURce RF OUTPut Commands 70 3 1 10 1 SOURce RF OUTPut STATe 70 3 1 10 2 SOURce RFALl OUTPut STATe 70 3 1 11 SOURce RF MODulation Commands 71 3 1 11 1 SOURce RF MODulation STATe 71 3 1 11 2 SOURce RFALl MODulation STATe...

Page 6: ...nication LAN SELF PREFerred 85 3 4 10 SYSTem COMMunication LAN MDNS 86 3 4 11 SYSTem COMMunication LAN HOST NAME 87 3 4 12 SYSTem COMMunication LAN MAC 87 3 4 13 SYSTem PRESet 88 3 4 14 SYSTem PRESet TYPE 88 3 4 15 SYSTem PRESet SAVE 89 3 4 16 SYSTem FSWitch STATe 89 3 4 17 SYSTem LANGuage 90 3 4 18 SYSTem DATE 91 3 4 19 SYSTem TIME 92 3 4 20 SYSTem STIMe 92 3 4 21 SYSTem CLEar 93 3 4 22 SYSTem DI...

Page 7: ...SC 109 3 6 5 RST 109 3 6 6 SRE 110 3 6 7 STB 110 3 6 8 TRG 111 3 6 9 WAI 111 3 7 STATus Commands 112 3 7 1 STATus OPERation ENABle 113 3 7 2 STATus OPERation EVENt 113 4 Application Examples 115 4 1 To Output the RF Signal 115 4 2 To Output the RF Sweep Signal 115 5 Programming Examples 117 5 1 Programming Preparations 117 5 2 Excel Programming Examples 118 5 3 Matlab Programming Example 122 5 4 L...

Page 8: ...VI Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 9: ... Freq indicates clicking or tapping the Freq menu to enter the Freq setting configuration menu 2 Operation Procedures denotes the next step of operation For example Interface LAN indicates that first clicking tapping Interface and then clicking taping LAN 3 Connector The connectors on the front or rear panel are usually denoted by the format of Connector Name Bold Square Brackets Bold For example ...

Page 10: ...kHz to 12 GHz 8 Manuals of this Product The manuals of this product mainly include the quick guide user guide programming guide data sheet and etc For the latest version of this manual download it from the official website of RIGOL http www rigol com Document Overview 2 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 11: ...ess value SYSTem is the root keyword of the command COMMunication is the second level keyword LAN IP ADDress are the second level third level forth level and fifth level keywords respectively The command line starts with a colon and different levels of keywords are also separated by colons value indicates a settable parameter The command ending with a quotation mark indicates querying The command ...

Page 12: ...and parameters introduced in this manual include 5 types bool discrete integer real number and ASCII string 1 Bool The parameter can be set to ON OFF 1 or 0 For example SYSTem COMMunication LAN MDNS bool SYSTem COMMunication LAN MDNS Wherein bool can be set to 1 ON 0 OFF The query returns 1 or 0 2 Discrete The parameter can be any of the values listed For example SYSTem LANGuage type SYSTem LANGua...

Page 13: ... 20 GHz 5 ASCII String The parameter can be the combinations of ASCII characters For example MMEMory SAVe File_name Wherein File_name is the filename of the file to be saved and can include Chinese characters one Chinese character occupies two bytes English characters and numbers The filename cannot exceed 28 bytes Command Abbreviation All the commands are case insensitive They can all be in upper...

Page 14: ...escription Sets the RF frequency of the specified channel Queries the RF frequency of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 freq Real 9 kHz to 20 GHz 20 GHz unit Discrete Hz kHz MHz GHz Hz Remarks When freq is set in Number form the default unit is Hz For example 4000000 Besides freq can also be set in Number Unit form For example 4MHz The defau...

Page 15: ...The query returns 4000000Hz 3 1 1 2 SOURce RF FREQuency OFFSet Syntax SOURce RF channel FREQuency OFFSet freq unit SOURce RF channel FREQuency OFFSet Description Sets the RF frequency offset of the specified channel Queries the RF frequency offset of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 freq Real 49 GHz to 49 GHz 0 Hz unit Discrete Hz kHz MHz G...

Page 16: ...nd Return Format The query returns the RF frequency offset of the specified channel Example RF2 FREQ OFFS 20kHz Sets the RF frequency offset of CH2 to 20kHz RF2 FREQ OFFS The query returns 20000Hz 3 1 2 SOURce RF LEVel Commands 3 1 2 1 SOURce RF LEVel Syntax SOURce RF channel LEVel level unit SOURce RF channel LEVel Description Sets the RF output amplitude of the specified channel Queries the RF o...

Page 17: ...de is equal to the actual output amplitude When the amplitude offset is not 0 dB the output amplitude is determined by the setting amplitude and amplitude offset The three parameters satisfy the equation setting amplitude display amplitude output amplitude amplitude offset You can query or set the RF amplitude offset by using the SOURce RF LEVel OFFSet command Return Format The query returns the R...

Page 18: ... is dBmV 48 99dBmV is displayed When the level unit is dBuV 108 99dBuV is displayed When the level unit is Volts 281 50mV is displayed When the level unit is Watts 1 58mW is displayed The default unit of the return value is dBm Return Format The query returns the limit of the RF output amplitude for the specified channel Example LEV LIM 5 6 Sets the limit of the RF output amplitude of CH1 to 5 6dB...

Page 19: ...mined by the setting amplitude and amplitude offset The three parameters satisfy the equation setting amplitude display amplitude output amplitude amplitude offset You can query or set the RF amplitude by using the SOURce RF LEVel command Return Format The query returns the amplitude offset of the RF output for the specified channel Example LEV OFFS 10 Sets the amplitude offset of the RF output of...

Page 20: ...eturn Format The query returns the phase deviation of the RF output for the specified channel Example PHAS 35 Sets the phase deviation of the RF output of CH1 to 35deg by default CH1 is selected PHAS The query returns 35 00 3 1 3 2 SOURce RF PHASe RESet Syntax SOURce RF channel PHASe RESet Description Resets the current phase deviation to 0deg for the specified channel Parameter Name Type Range De...

Page 21: ...channel Discrete 1 2 3 4 5 6 7 8 1 bool Bool 1 ON 0 OFF 0 OFF Remarks N A Return Format The query returns 1 or 0 Example CORR FLAT ON Enables the flatness correction for CH1 by default CH1 is selected CORR FLAT The query returns 1 3 1 4 2 SOURce RF CORRection FLATness COUNt Syntax SOURce RF channel CORRection FLATness COUNt Description Queries the number of points in the current flatness correctio...

Page 22: ... Start Count Description Queries the flatness correction list within the specified range for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Start Integer 1 to total number of lines in the current list Count Integer 1 to total number of lines in the current list Remarks Start indicates the start line No of the list to be acquired Count indicates the total...

Page 23: ...tal number of lines in the current list Remarks Row represents the line number in the flatness correction list The total number of lines is the total number of correction points in the flatness correction list Each correction point corresponds to one frequency value and amplitude value You can use this command to reduce the number of lines from the list or use the SOURce RF CORRection FLATness PAI...

Page 24: ...his command to edit the frequency and amplitude values of the currently selected line in the flatness correction list Freq sets the frequency of the correction point Ampt sets the amplitude value at the frequency point Return Format N A Example CORR FLAT PAIR 2 5M 10 Sets the frequency value of the currently selected line to 2 5MHz and the amplitude value to 10dB for CH1 by default CH1 is selected...

Page 25: ...ATness SAVe Syntax SOURce RF channel CORRection FLATness SAVe filename Description Saves the flatness calibration list file of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 filename ASCII String Remarks N A Return Format N A Example RF2 CORR FLAT SAV flat csv Saves the flatness calibration list file of CH2 with the filename flat csv Command System Copyr...

Page 26: ...ction At this point the microwave signal generator sweeps from the start frequency or start level to the stop frequency or stop level REV selects Down sweep direction At this point the microwave signal generator sweeps from the stop frequency or stop level to the start frequency or start level Return Format The query returns FWD or REV Example SWE DIR FWD Sets the sweep direction to FWD by default...

Page 27: ... a sweep if the trigger condition is met after sending this command Return Format N A Example N A 3 1 5 3 SOURce RF SWEep LIST ADDList Syntax SOURce RF channel SWEep LIST ADDList freq level time SOURce RF channel SWEep LIST ADDList Description Adds one line of sweep values to the sweep list for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 freq Real 9 k...

Page 28: ...weep list for CH2 3 1 5 4 SOURce RF SWEep LIST CPOint Syntax SOURce RF channel SWEep LIST CPOint Description Queries the number of points in the current sweep list for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks You can use the SOURce RF SWEep LIST DELete command to delete one line of sweep values or use the SOURce RF SWEep LIST ADDList comman...

Page 29: ...er of sweep points in the sweep list can not exceed 6001 You can use this command to reduce the number of lines in the list and use the SOURce RF SWEep LIST ADDList command to increase the number of lines in the list Return Format N A Example SWE LIST DEL 2 Deletes the second line of sweep values from the sweep list by default CH1 is selected 3 1 5 6 SOURce RF SWEep LIST LIST Syntax SOURce RF chan...

Page 30: ...list For example NO 1 2000000 11 000000 1 NO 2 3000000 12 000000 1 NO 3 4000000 13 000000 1 Example SWEep LIST LIST 2 3 Acquires 3 lines of sweep values starting from the second line in the sweep list by default CH1 is selected 3 1 5 7 SOURce RF SWEep LIST INITialize FSTep Syntax SOURce RF channel SWEep LIST INITialize FSTep Description Recalculates the data points set in the current step sweep to...

Page 31: ...nnel SWEep LIST INITialize PRESet Description Resets the sweep list for the specified channel to factory setting Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks After resetting the sweep list using this command the sweep list only contains one frequency point 20GHz and one level point 30dBm You can use the SOURce RF SWEep LIST ADDList and SOURce RF SWEep LIST DELete co...

Page 32: ...Remarks N A Return Format N A Example RF2 SWE LIST LOAD sweep csv Loads the specified sweep list file named sweep csv to CH2 3 1 5 10 SOURce RF SWEep LIST SAVe Syntax SOURce RF channel SWEep LIST SAVe filename Description Saves the sweep list file of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 filename ASCII String Remarks N A Command System 24 Copyri...

Page 33: ...e Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 state Discrete OFF FREQuency LEVel LEVel FREQuency OFF Remarks OFF disables the sweep function FREQuency enables the frequency sweep function LEVel enables the level sweep function LEVel FREQuency enables both the frequency and the level sweep functions Return Format The query returns the sweep state Example SWE STAT FREQ Sets the sweep state...

Page 34: ...ps according to the current sweep list STEP selects step sweep type At this point the microwave signal generator performs step sweep at the current setting Return Format The query returns LIST or STEP Example SWE TYPE STEP Sets the sweep type to STEP by default CH1 is selected SWE TYPE The query returns STEP 3 1 5 13 SOURce RF SWEep MODE Syntax SOURce RF channel SWEep MODE mode SOURce RF channel S...

Page 35: ...The query returns CONT or SING Example SWE MODE CONT Sets the sweep mode to CONT by default CH1 is selected SWE MODE The query returns CONT 3 1 5 14 SOURce RF SWEep RESet ALL Syntax SOURce RF channel SWEep RESet ALL Description Resets all the sweeps of the specified channel to the start point Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks If the current sweep directio...

Page 36: ...ks AUTO selects Auto trigger If the sweep mode is Continuous select one sweep type and the instrument sweeps each sweep point continuously within a sweep period If the sweep mode is Single you need to send the SOURce RF SWEep EXECute command first to meet the single sweep condition and then it will launch one sweep period and then stops KEY selects Key trigger If the sweep mode is Continuous every...

Page 37: ...e single sweep condition At this point each time the instrument receives a TTL pulse signal with the specified polarity it sweeps one point and then stops after completing one sweep period TIP The above remarks are only valid when the trigger mode in the sweep period is met When executing the sweep operation the priority of the required conditions is single sweep trigger mode point trigger mode Re...

Page 38: ...arts one sweep If the sweep mode is Single you need to send the SOURce RF SWEep EXECute command first to meet the single sweep condition At this point every time you send the TRG command the instrument launches one sweep and then stops EXT selects External trigger The instrument receives the trigger signal input from the front panel TRIGGER connector If the sweep mode is Continuous every time the ...

Page 39: ...fied channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 value Real 5 ms to 100 s 500 ms Remarks When value is set in Number form the default unit is s Besides value can also be set in Number Unit form For example 3000ms The default unit of the return value is s Return Format The query returns the dwell time of the step sweep Example SWE STEP DWEL 3 Sets the dwell time of ...

Page 40: ...ts the number of points of step sweep to 5 by default CH1 is selected SWEep STEP POINts The query returns 5 3 1 5 19 SOURce RF SWEep STEP STARt FREQuency Syntax SOURce RF channel SWEep STEP STARt FREQuency freq unit SOURce RF channel SWEep STEP STARt FREQuency Description Sets the start frequency of the step sweep for the specified channel Queries the start frequency of the step sweep for the spec...

Page 41: ...l level unit SOURce RF channel SWEep STEP STARt LEVel Description Sets the start level of the step sweep for the specified channel Queries the start level of the step sweep for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 level Real 30 dBm to 25 dBm 10 dBm unit Discrete dBm V W dBmV dBuV dBm Remarks When level is set in Number form for example 2 the de...

Page 42: ...OURce RF SWEep STEP STOP FREQuency Syntax SOURce RF channel SWEep STEP STOP FREQuency freq unit SOURce RF channel SWEep STEP STOP FREQuency Description Sets the stop frequency of the step sweep for the specified channel Queries the stop frequency of the step sweep for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 freq Real 9 kHz to 20 GHz 2 GHz unit Dis...

Page 43: ...e Default channel Discrete 1 2 3 4 5 6 7 8 1 level Real 30 dBm to 25 dBm 20 dBm unit Discrete dBm V W dBmV dBuV dBm Remarks When level is set in Number form for example 2 the default unit is dBm When set in Number Unit form for example 2dBm the start level displayed in the interface of the microwave signal generator is related to the setting of the level unit When the level unit is dBm 2 00dBm is ...

Page 44: ...Default channel Discrete 1 2 3 4 5 6 7 8 1 shape Discrete TRIangle RAMP TRIangle Remarks The sweep shape determines the cycle mode of multiple sweeps TRIangle selects the Triangle waveform The sweep period always starts from the start frequency or start level to the stop frequency or stop level and then returns back to the start frequency or start level when the sweep direction is Fwd RAMP selects...

Page 45: ...ange Default channel Discrete 1 2 3 4 5 6 7 8 1 type Discrete LINear LOGarithmic LINear Remarks The sweep spacing refers to the variation mode from one frequency or amplitude to another frequency or amplitude within one step LINear sets the sweep spacing to Lin The level sweep only supports Lin sweep spacing LOGarithmic sets the sweep spacing to LOG Return Format The query returns LIN or LOG Examp...

Page 46: ...epth ma and amplitude difference ΔPsb between the carrier and sidebands satisfy the following relations ΔPsb 6 20lg ma Besides value can also be expressed in percentage For example 80 Return Format The query returns the modulation depth For example 80 00 Example RF2 AM DEPT 80 Sets the AM modulation depth of CH2 to 80 RF2 AM DEPT The query returns 80 00 3 1 6 2 SOURce RF AM FREQuency Syntax SOURce...

Page 47: ...rce is set to Ext this command is invalid You can run the SOURce RF AM SOURce command to set or query the type of the AM modulation source Return Format The query returns the AM modulation frequency Example RF2 AM FREQ 20kHz Sets the AM modulation frequency of CH2 to 20kHz RF2 AM FREQ The query returns 20000 3 1 6 3 SOURce RF AM WAVEform Syntax SOURce RF channel AM WAVEform type SOURce RF channel ...

Page 48: ... or SQUA Example RF2 AM WAVE SQUA Sets the AM modulating waveform of CH2 to SQUA RF2 AM WAVE The query returns SQUA 3 1 6 4 SOURce RF AM STATe Syntax SOURce RF channel AM STATe bool SOURce RF channel AM STATe Description Turns on or off the AM switch to enable the AM function for the specified channel Queries the on off status of the AM switch for the specified channel Parameter Name Type Range De...

Page 49: ...Range Default channel Discrete 1 2 3 4 5 6 7 8 1 type Discrete EXTernal INTernal INTernal Remarks EXTernal selects the external modulation source At this point the external modulating signal is input from the EXT MOD IN connector INTernal selects the internal modulation source At this point the instrument provides the modulating signal You can run the SOURce RF AM FREQuency command and the SOURce ...

Page 50: ... equal level output of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 value Bool 1 ON 0 OFF 0 OFF Remarks N A Return Format The query returns 1 or 0 Example AM EQUal LEVel ON Enables the RF equal level output of CH1 by default CH1 is selected AM EQUal LEVel The query returns 1 3 1 6 7 SOURce AM EXT COUP Syntax SOURce AM EXT COUP type SOURce AM EXT COUP D...

Page 51: ...C Sets the AM external coupling mode to AC AM EXT COUP The query returns AC 3 1 6 8 SOURce AM EXT IMP Syntax SOURce AM EXT IMP value SOURce AM EXT IMP Description Sets the impedance of AM external modulation Queries the impedance of AM external modulation Parameter Name Type Range Default value Discrete 50 600 100k 100k Remarks 50 sets the impedance of AM external modulation to 50Ω 100k sets the i...

Page 52: ...F channel FM DEViation value unit SOURce RF channel FM DEViation Description Sets the FM frequency offset of the specified channel Queries the FM frequency offset of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 value Real 0 1 Hz to 4 MHz 10 kHz unit Discrete Hz kHz MHz GHz Hz Remarks When value is set in Number form the default unit is Hz For example 2...

Page 53: ... Range Default channel Discrete 1 2 3 4 5 6 7 8 1 freq Real 0 1 Hz to 1 MHz 10 kHz unit Discrete Hz kHz MHz GHz Hz Remarks When freq is set in Number form the default unit is Hz For example 20000 Besides freq can can also be set in Number Unit form For example 20kHz The default unit of the return value is Hz When the FM modulation source is set to Ext this command is invalid Return Format The quer...

Page 54: ... PM modulation source is set to Ext this command is invalid You can run the SOURce RF FM SOURce command to set or query the type of the FM modulation source Return Format The query returns SINE or SQUA Example RF2 FM WAVE SQUA Sets the FM modulating waveform of CH2 to SQUA RF2 AM WAVE The query returns SQUA 3 1 7 4 SOURce RF FM STATe Syntax SOURce RF channel FM STATe bool SOURce RF channel FM STAT...

Page 55: ... 1 3 1 7 5 SOURce RF FM SOURce Syntax SOURce RF channel FM SOURce type SOURce RF channel FM SOURce Description Sets the FM modulation source type of the specified channel Queries the FM the modulation source type of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 type Discrete EXTernal INTernal INTernal Remarks EXTernal selects the external modulation sou...

Page 56: ... to INT RF2 FM SOUR The query returns INT 3 1 7 6 SOURce FM EXT COUP Syntax SOURce FM EXT COUP type SOURce FM EXT COUP Description Sets the FM external coupling mode Queries the FM external coupling mode Parameter Name Type Range Default type Discrete AC DC AC Remarks AC sets the FM external coupling mode to AC DC sets the FM external coupling mode to DC When the modulation source of AM is set to ...

Page 57: ...ets the impedance of FM external modulation to 50Ω 100k sets the impedance of FM external modulation to 100kΩ 600 sets the impedance of FM external modulation to 600Ω When the modulation source of FM is set to Int this command is invalid You can send the SOURce RF FM SOURce command to set or query the FM modulation source Return Format The query returns 50 600 or 100k Example FM EXT IMP 600 Sets t...

Page 58: ...When value is set in Number form the default unit is rad The default unit of the return value is rad Return Format The query returns the PM phase deviation for the specified channel Example RF2 PM DEV 2 Sets the PM phase deviation of CH2 to 2 rad RF2 PM DEV The query returns 2 00 3 1 8 2 SOURce RF PM FREQuency Syntax SOURce RF channel PM FREQuency freq unit SOURce RF channel PM FREQuency Descripti...

Page 59: ...y returns the PM modulation frequency Example RF2 PM FREQ 20kHz Sets the PM modulation frequency of CH2 to 20 kHz RF2 PM FREQ The query returns 20000 3 1 8 3 SOURce RF PM WAVEform Syntax SOURce RF channel PM WAVEform type SOURce RF channel PM WAVEform Description Sets the PM modulating waveform of the specified channel Queries the PM modulating waveform of the specified channel Parameter Name Type...

Page 60: ... query returns SQUA 3 1 8 4 SOURce RF PM STATe Syntax SOURce RF channel PM STATe bool SOURce RF channel PM STATe Description Turns on or off the PM switch to enable the AM function for the specified channel Queries the on off status of the PM switch for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 bool Bool 1 ON 0 OFF 0 OFF Remarks ON turns on the PM s...

Page 61: ...ernal selects the external modulation source At this point the external modulating signal is input from the EXT MOD IN connector INTernal selects the internal modulation source At this point the instrument provides the modulating signal You can run the SOURce RF PM FREQuency command and the SOURce RF PM WAVEform command to set the modulation frequency and modulation waveform of the modulating sign...

Page 62: ...source of PM is set to Int this command is invalid You can send the SOURce RF PM SOURce command to set or query the PM modulation source Return Format The query returns AC or DC Example PM EXT COUP AC Sets the PM external coupling mode to AC PM EXT COUP The query returns AC 3 1 8 7 SOURce PM EXT IMP Syntax SOURce PM EXT IMP value SOURce PM EXT IMP Description Sets the impedance of the PM external ...

Page 63: ...he PM modulation source Return Format The query returns 50 600 or 100k Example PM EXT IMP 600 Sets the impedance of the PM external modulation to 600Ω PM EXT IMP The query returns 600 3 1 9 SOURce RF PULM Commands 3 1 9 1 SOURce RF PULM MODE Syntax SOURce RF channel PULM MODE mode SOURce RF channel PULM MODE Description Sets the pulse type of the specified channel Queries the pulse type of the spe...

Page 64: ...URce RF channel PULM OUT STATe bool SOURce RF channel PULM OUT STATe Description Enables or disables the pulse output for the specified channel Queries the on off status of the pulse output for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 bool Bool 1 ON 0 OFF 0 OFF Remarks ON 1 enables the pulse output At this point the microwave signal generator can o...

Page 65: ...he specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 value Real 40 ns to 170 s 500 us Remarks When value is set in Number form the default unit is s Besides value can also be set in Number Unit form For example 1000ms The default unit of the return value is s The period of the single pulse is related to the current Mode setting This command is invalid when Ext ...

Page 66: ...specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 type Discrete NORMal INVerse NORMal Remarks NORMal sets the polarity of the current pulse modulation signal to Normal INVerse sets the polarity of the current pulse modulation signal to Inverse Return Format The query returns NORM or INV Example PULM POL INV Sets the polarity of the pulse modulation to INV by de...

Page 67: ...nt panel PULSE connector EXTernal selects the external modulation source At this point the microwave signal generator receives the external pulse modulating signal input from the front panel PULSE connector Return Format The query returns INT or EXT Example PULM SOUR INT Sets the pulse modulation source to INT by default CH1 is selected PULM SOUR The query returns INT 3 1 9 6 SOURce RF PULM STATe ...

Page 68: ...ce RF PULM TRAin LIST COUNt SOURce RF channel PULM TRAin LIST COUNt Description Acquires the total number of lines of the current pulse list for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks You can use the SOURce RF PULM TRAin LIST DELete command to reduce the number of lines of the list or use the SOURce RF PULM TRAin LIST INSErt command to in...

Page 69: ...s the duration of the positive pulse OffTime sets the duration of the negative pulse Repeat sets the repetition times of this pulse Return Format N A Example PULM TRA LIST INSE 5 5s 2 5s 2 Inserts one line of pulse values before the currently selected line OnTime 5 5s OffTime 2 5s Repeat 2 by default CH1 is selected 3 1 9 9 SOURce RF PULM TRAin LIST DELete Syntax SOURce RF channel PULM TRAin LIST ...

Page 70: ...TRA LIST DEL 2 Deletes the second line of pulse values from the current pulse list by default CH1 is selected 3 1 9 10 SOURce RF PULM TRAin LIST GET Syntax SOURce RF channel PULM TRAin LIST GET Start Count Description Acquires the pulse list within the specified range for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Start Integer 1 to total number of l...

Page 71: ...t CH1 is selected 3 1 9 11 SOURce RF PULM TRAin LIST RUN Syntax SOURce RF channel PULM TRAin LIST RUN Description Executes the currently edited pulse list for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks You can use this command to update the internal modulating signal for the current pulse list data Return Format N A Example N A 3 1 9 12 SOURc...

Page 72: ...13 SOURce RF PULM TRAin LIST SAVe SOURce RF channel PULM TRAin LIST SAVe filename Description Saves the pulse list file of the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 filename ASCII String Remarks N A Return Format N A Example RF2 PULM TRA LIST SAV tra csv Saves the pulse list file of CH2 named tra csv Command System 64 Copyright RIGOL TECHNOLOGIES CO...

Page 73: ...to the start of the pulse modulating signal when Int modulation source is selected and Ext trigger mode is selected When value is set in Number form the default unit is s Besides value can also be set in Number Unit form For example 30ns The default unit of the return value is s Return Format The query returns the trigger delay Example PULM TRIG DEL 3 Sets the trigger delay to 3s by default CH1 is...

Page 74: ...to set the polarity of the external gated signal You can run the SOURce RF PULM TRIGger MODE command to set or query the trigger mode of the pulse modulation This command is invalid when Ext modulation source is selected You can run the SOURce RF PULM SOURce command to set or query the pulse modulation source Return Format The query returns NORM or INV Example PULM TRIG EXT GATE POL INV Sets the p...

Page 75: ...s command to set the trigger edge of the external trigger signal This command is invalid when Ext modulation source is selected You can run the SOURce RF PULM SOURce command to set or query the pulse modulation source Return Format The query returns POS or NEG Example PULM RF2 TRIG EXT SLOP NEG Sets the slope of the valid edge of the external trigger pulse for CH2 to NEG PULM RF2 TRIG EXT SLOP The...

Page 76: ...l SLOPe command to select Pos or Neg EGATe selects Gate trigger At this point the microwave signal generator receives the external gated signal input from the front panel TRIGGER connector The instrument starts a pulse modulation within its valid level each time a gated signal with the specified polarity is received To specify the polarity of the external gated signal use the SOURce RF PULM TRIGge...

Page 77: ...el Discrete 1 2 3 4 5 6 7 8 1 value Real 10 ns to 170 s 10 ns 500 us Remarks When value is set in Number form the default unit is s Besides value can also be set in Number Unit form For example 2000ms When the modulation source is Internal and the pulse mode is Single you can use this command to set the pulse width of the single pulse Otherwise this command is invalid for setting the pulse width T...

Page 78: ... disables the RF output for the specified channel Queries the RF output status for the specified channel Parameter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 bool Bool 1 ON 0 OFF 0 OFF Remarks ON 1 enables the RF output of the channel OFF 0 disables the RF output of the channel Return Format The query returns 1 or 0 Example RF2 OUTPut ON Enables the RF output of CH2 RF2 OUTPut The ...

Page 79: ...TPut ON Enables the RF output of all the channels RFAL OUTPut The query returns 1 3 1 11 SOURce RF MODulation Commands 3 1 11 1 SOURce RF MODulation STATe Syntax SOURce RF channel MODulation STATe bool SOURce RF channel MODulation STATe Description Enables or disables the modulation output for the specified channel Queries the on off status of the modulation output for the specified channel Parame...

Page 80: ...nels Queries the on off status of modulation output for all the channels Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Remarks N A Return Format The query returns 1 or 0 Example RFAL MOD STATe ON Enables the modulation output for all the channels RFAL MOD STATe The query returns 1 3 1 12 SOURce ROSCillator HCLock Commands 3 1 12 1 SOURce ROSCillator HCLock OUTPut STATe Syntax SOURce...

Page 81: ...1 12 2 SOURce ROSCillator HCLock TYPE Syntax SOURce ROSCillator HCLock TYPE type SOURce ROSCillator HCLock TYPE Description Sets the type of the 4 8 GHz reference clock Queries the the type of the 4 8 GHz reference clock Parameter Name Type Range Default type Discrete INTernal EXTernal Remarks INTernal sets the type of the 4 8 GHz reference clock to Internal EXTernal sets the type of the 4 8 GHz r...

Page 82: ...rete POSitive NEGative POSitive Remarks POSitive sets the polarity of the input signal of the external trigger to Positive NEGative sets the polarity of the input signal of the external trigger to Negative This command is only valid when Ext is selected for the trigger type of sweep The external trigger signal is input from the front panel TRIGGER connector Return Format The query returns POS or N...

Page 83: ...r Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks N A Return Format N A Example N A 3 2 2 TRIGger RFALl PULM IMMediate Syntax TRIGger RFALl PULM IMMediate Description When the Trig Mode of pulse modulation is set to Bus the instrument starts one pulse modulation for all the channels immediately Parameter N A Remarks N A Return Format N A Example N A Command System Copyright RIGO...

Page 84: ...t to Bus and the corresponding trigger condition is met the instrument starts a RF sweep within the sweep period or sweeps a point and then stops each time this command is sent Return Format N A Example N A 3 2 4 TRIGger RFALl SWEep IMMediate Syntax TRIGger RFALl SWEep IMMediate Description Triggers one RF sweep immediately on all the channels Parameter N A Remarks N A Return Format N A Example N ...

Page 85: ...ype Range Default channel Discrete 1 2 3 4 5 6 7 8 1 Remarks N A Return Format N A Example N A 3 2 6 TRIGger RFALl PULM KEY Syntax TRIGger RFALl PULM KEY Description When the Trig Mode of pulse modulation of the specified channel is set to Key the instrument starts one pulse modulation for all the channels immediately Parameter N A Remarks N A Return Format N A Example N A Command System Copyright...

Page 86: ...he sweep period or sweeps a point and then stops each time this command is sent Return Format N A Example N A 3 2 8 TRIGger RFALl SWEep KEY Syntax TRIGger RFALl SWEep KEY Description When the Trig Mode of pulse modulation of the specified channel is set to Key the instrument starts one RF sweep for all the channels immediately Parameter N A Remarks When the Trig Type or Point Trig mode of SWEEP is...

Page 87: ...eter Name Type Range Default channel Discrete 1 2 3 4 5 6 7 8 1 unit Discrete dBm dBmV dBuV V W dBm Remarks N A Return Format The query returns dBm dBmV dBuV V or W Example UNIT POW V Sets the unit for the output and displayed amplitude of CH1 to V by default CH1 is selected UNIT POW The query returns V 3 4 SYSTem Commands The SYSTem commands are used to set a series of parameters relating to the ...

Page 88: ... the three IP configuration modes are all enabled the priority of the parameter configuration from high to low is DHCP Auto IP and Manual IP The three IP configuration modes cannot be all disabled at the same time Return Format The query returns 1 or 0 Example SYST COMM LAN DHCP ON Enables the DHCP mode SYST COMM LAN DHCP The query returns 1 3 4 2 SYSTem COMMunication LAN IP ADDress Syntax SYSTem ...

Page 89: ...vailable Return Format The query returns the IP address For example 172 16 3 199 Example SYST COMM LAN IP ADD 172 16 3 199 Sets the IP address to 172 16 3 199 SYST COMM LAN IP ADD The query returns 172 16 3 199 3 4 3 SYSTem COMMunication LAN IP AUTO Syntax SYSTem COMMunication LAN IP AUTO bool SYSTem COMMunication LAN IP AUTO Description Enables or disables the auto IP configuration mode Queries t...

Page 90: ...AUTO ON Enables the Auto IP configuration mode SYST COMM LAN IP AUTO The query returns 1 3 4 4 SYSTem COMMunication LAN IP GATeway Syntax SYSTem COMMunication LAN IP GATeway value SYSTem COMMunication LAN IP GATeway Description Sets the current default gateway Queries the current default gateway Parameter Name Type Range Default value ASCII String The format of value is nnn nnn nnn nnn The range f...

Page 91: ... mode Queries the status of the manual IP configuration mode Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Remarks In Manual IP mode the network parameters of the generator e g IP address are defined by users When the three IP configuration modes are all enabled the priority of the parameter configuration from high to low is DHCP Auto IP and Manual IP The three IP configuration mode...

Page 92: ...N A Example N A 3 4 7 SYSTem COMMunication LAN IP SUBnet MASK Syntax SYSTem COMMunication LAN IP SUBnet MASK value SYSTem COMMunication LAN IP SUBnet MASK Description Sets the current subnet mask Queries the current subnet mask Parameter Name Type Range Default value ASCII String The format of value is nnn nnn nnn nnn The range of nnn is from 0 to 255 Remarks This command is only valid when the Ma...

Page 93: ...Munication LAN RESet Syntax SYSTem COMMunication LAN RESet Description Resets the currently set network parameters Parameter N A Remarks After resetting the current parameters DHCP and Auto IP are turned on and Manual IP is turned off Return Format N A Example N A 3 4 9 SYSTem COMMunication LAN SELF PREFerred Syntax SYSTem COMMunication LAN SELF PREFerred value SYSTem COMMunication LAN SELF PREFer...

Page 94: ...returns the DNS address For example 172 16 2 3 Example SYST COMM LAN PREF 172 16 2 3 Sets the DNS address to 172 16 2 3 SYST COMM LAN PREF The query returns 172 16 2 3 3 4 10 SYSTem COMMunication LAN MDNS Syntax SYSTem COMMunication LAN MDNS bool SYSTem COMMunication LAN MDNS Description Enables or disables mDNS Queries the on off status of the mDNS port Parameter Name Type Range Default bool Bool...

Page 95: ...unication LAN HOST NAME Description Sets the host name Queries the host name Parameter Name Type Range Default name ASCII String Remarks N A Return Format The query returns the host name Example N A 3 4 12 SYSTem COMMunication LAN MAC Syntax SYSTem COMMunication LAN MAC Description Queries the MAC address Parameter N A Remarks N A Command System Copyright RIGOL TECHNOLOGIES CO LTD All rights reser...

Page 96: ...emarks This command has the same function as clicking or tapping Preset namely recalling the default values or user preset values Return Format N A Example N A 3 4 14 SYSTem PRESet TYPE Syntax SYSTem PRESet TYPE type SYSTem PRESet TYPE Description Sets the preset type of the system Queries the preset type of the system Parameter Name Type Range Default type Discrete FACtory USER Command System 88 ...

Page 97: ... 15 SYSTem PRESet SAVE Syntax SYSTem PRESet SAVE Description Saves the user setting Parameter N A Remarks Using this command can save the current system configuration as user defined setting to the internal non volatile memory When Preset Type is set to User use the SYSTem PRESet TYPE command this configuration will be loaded When Preset Type is set to Factory this command is invalid Return Format...

Page 98: ...to press the power key on the front panel to start the microwave signal generator after the instrument is connected to AC power Return Format The query returns OPEN or DEF Example SYST FSW STAT OPEN Sets the power status of the signal generator to OPEN SYST FSW STAT The query returns OPEN 3 4 17 SYSTem LANGuage Syntax SYSTem LANGuage type SYSTem LANGuage Description Sets the system language Querie...

Page 99: ... year month day SYSTem DATE Description Sets the date of the instrument Queries the date of the instrument Parameter Name Type Range Default year ASCII String 2000 to 2099 month ASCII String 01 to 12 day ASCII String 01 to 31 Remarks N A Return Format The query returns the current date in the format of YYYY MM DD For example 2020 08 31 Example SYST DATE 2020 08 31 Sets the system date to 2020 08 3...

Page 100: ...9 Remarks N A Return Format The query returns the current system time in the format of hh mm ss For example 16 40 30 Example SYST TIME 16 40 30 Sets the system time to 16 40 30 SYST TIME The query returns 16 40 30 3 4 20 SYSTem STIMe Syntax SYSTem STIMe bool SYSTem STIMe Description Enables or disables the display of the system date and time Queries whether to display the system date and time Comm...

Page 101: ...ntax SYSTem CLEar Description Clear all the user defined data safely Parameter N A Remarks The instrument will be reset to the factory setting after the data are cleared Format the NAND FLASH Reset the user data saved in NVRAM and NorFlash to the factory setting Reset the HOST NAME IP address and password in LXI to the factory setting Return Format N A Example N A Command System Copyright RIGOL TE...

Page 102: ... and is locked At this point the measurement speed is improved Screen locking is mainly used in remote operation mode Return Format The query returns 1 or 0 Example SYST DISP UPD OFF Enables the touch screen SYST DISP UPD The query returns 0 3 4 23 SYSTem LKEY Syntax SYSTem LKEY option license_key SYSTem LKEY option Description Used to install and activate the options of the instrument Queries the...

Page 103: ...Format N A Example SYSTem LKEY DSG5000 AMD fbcd61febe039cfa3330036b8feFFc885a2210b4a31f620d370f0006931d6575 a5cea7eee0f355f0adc33f936bfcb13a Installs and activates the DSG5000 AMD option SYSTem LKEY DSG5000 AMD The query returns fbcd61febe039cfa3330036b8feFFc885a2210b4a31f620d370f0006931d6575a5ce a7eee0f355f0adc33f936bfcb13a 3 4 24 SYSTem LKEY DELete Syntax SYSTem LKEY DELete Description Uninstall...

Page 104: ...e N A 3 4 26 SYSTem CONFigure INFormation Syntax SYSTem CONFigure INFormation Description Queries the configuration of the system such as the software and hardware version number Parameter N A Remarks N A Return Format The query returns the system information of the current system Example N A Command System 96 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 105: ...ng Valid path Remarks The parameter path can be the local memory Disk C or external memory Disk D available when a USB storage device is connected to the front panel USB Host interface or the folders under Disk C or D The query returns a list of all the files and folders under the path specified by path Return Format NO 1 File Name 1 NO 2 File Name 4 STA Example MMEM CAT C The query returns all th...

Page 106: ...ber of files and folders under Disk C 3 5 3 MMEMory COPY Syntax MMEMory COPY file_source file_destination Description Copies the file or folder specified by file_source to the destination path specified by file_destination Parameter Name Type Range Default file_source ASCII String File or folder to be copied file_destination ASCII String Valid destination path Remarks The parameter file_source den...

Page 107: ...ed file or folder under the specified operation path Parameter Name Type Range Default file_name ASCII String Name of the file or folder to be deleted Remarks This command is only valid when the specified file or folder exists under the current operation path or the specified path The parameter file_name can be a file name or folder name under the current operation path or the specified path For e...

Page 108: ...DISK INFormation disk Description Queries the information of the disk Parameter Name Type Range Default disk ASCII String C C Remarks N A Return Format The query returns the disk information including Disk Name File System Used Space and Total Space For example Disk Type Local Disk C File System FAT32 Used Space 527 848MB Command System 100 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 109: ... state file flatness csv file sweep csv file pulse csv file and image type After selecting the appropriate file type you can view all files or save a new file of this file type Return Format The query returns STAT FLAC SWPC TRNC or IMAG Example MMEM FILE TRNCsv Sets the file type to TRNCsv MMEM FILE The query returns TRNC 3 5 8 MMEMory CHANnel SELect Syntax MMEMory CHANnel SELect channel Descripti...

Page 110: ...mmand to save or load the file of the specified channel Return Format N A Example N A 3 5 9 MMEMory LDISk SPACe Syntax MMEMory LDISk SPACe Description Queries the space information of the local disk Disk C Parameter N A Remarks N A Return Format The query returns the space information of Disk C including Used space and Free space For example Used 512 k Free 1048064 k Example N A Command System 102...

Page 111: ... parameter file_name can be a file name under the current operation path or a file name under the specified path For example MMEM LOAD C NEW 1 sta Return Format N A Example MMEM LOAD C 1 trn Loads the file named 1 sta from Disk C 3 5 11 MMEMory MDIRectory Syntax MMEMory MDIRectory directory_name Description Creates a new folder under the specified operation path Parameter Name Type Range Default d...

Page 112: ...ed path being added denoting creating a new folder under the specified path For example MMEM MDIR C 1 NEW Return Format N A Example MMEM MDIR C NEW Creates a folder named NEW under Disk C 3 5 12 MMEMory MOVE Syntax MMEMory MOVE file_source file_destination Description Renames the file or folder specified by file_source to the destination file or folder name specified by file_destination Parameter ...

Page 113: ... Syntax MMEMory PNAMe EDIT pre_name MMEMory PNAMe EDIT Description Edits and saves the filename prefix Queries the filename prefix saved Parameter Name Type Range Default pre_name ASCII String Filename prefix to be edited Remarks You can edit any prefix name Return Format The query returns the filename prefix For example N Example MMEM PNAM EDIT N Sets the filename prefix to N MMEM PNAM EDIT The q...

Page 114: ...rn Format The query returns 0 or 1 Example MMEM PNAM STATe ON Enables the filename prefix MMEM PNAM STAT The query returns 1 3 5 15 MMEMory SAVe Syntax MMEMory SAVe File_name Description Saves the file with the specified filename under the current operation path Parameter Name Type Range Default File_name ASCII String Name of the file to be saved Remarks The filename can include Chinese characters...

Page 115: ...e IEEE488 2 common commands are used to query the basic information of the instrument or executing basic operations These commands usually start with and the command keywords contain 3 characters and are related with status registers 3 6 1 CLS Syntax CLS Description Clears all the event registers and also clears the error queue Parameter N A Remarks N A Return Format N A Example N A 3 6 2 ESE Synt...

Page 116: ...d 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 Example ESE 16 Enables the Bit 4 16 in decimal in the register ESE The query returns 16 3 6 3 IDN Syntax IDN Description Queries the ID string of the instrument Parameter N A Remarks N A Return Format The query returns the ID string of the in...

Page 117: ... value Bool 0 1 Remarks 0 retains the settings of the status register 1 resets the settings of the status register Return Format The query returns 1 or 0 Example N A 3 6 5 RST Syntax RST Description Restores the microwave signal generator to the preset state factory or user Parameter N A Remarks N A Return Format N A Command System Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 109 ...

Page 118: ...ary numbers 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 Example SRE 16 Enables the Bit 4 16 in decimal in the register SRE The query returns 16 3 6 7 STB Syntax STB Description Queries the event register for the status byte regist...

Page 119: ...query returns an integer The integer equals to the binary weighted sum of all the bits set in the register Example N A 3 6 8 TRG Syntax TRG Description Triggers a pulse modulation or RF sweep immediately Parameter N A Remarks N A Return Format N A Example N A 3 6 9 WAI Syntax WAI Description Waits for all the pending operations to complete before executing any additional commands Parameter N A Com...

Page 120: ...nt status register The STATus commands are used to set and query the operation status register The IEEE488 2 common commands are used to perform operations on the standard event status register and status byte register 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 Standard Event Status Register Operation Status Register Status Byte Register Operation Complete Command Error ...

Page 121: ...000000 0 in decimal to 1111111111111111 32767 in decimal Return Format The query returns the enable register of the operation status register in integer Example STAT OPER ENAB 100 Sets the enable register of the operation status register to 100 STAT OPER ENAB The query returns 100 3 7 2 STATus OPERation EVENt Syntax STATus OPERation EVENt Description Queries the event register of the operation sta...

Page 122: ...Example N A Command System 114 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 123: ...r 4 1 To Output the RF Signal Requirement Use the SCPI commands to realize the following functions Output the RF signal with 1 GHz frequency and 20 dBm amplitude from the RF 50Ω connector of CH2 Method IDN Queries the ID string of the instrument to check whether the remote communication works normally SYST PRES TYPE FAC Sets the preset type to Factory SYST PRES Restores the instrument to the facto...

Page 124: ...r CH2 to 1 GHz RF2 SWE STEP STOP FREQ 2GHz Sets the stop frequency of step sweep for CH2 to 2 GHz RF2 SWE STEP STAR LEV 20 Sets the start level of step sweep for CH2 to 20 dBm RF2 SWE STEP STOP LEV 0 Sets the stop level of step sweep for CH2 to 0 dBm RF2 SWE STEP POIN 10 Sets the number of step sweep points for CH2 to 10 RF2 SWE STEP DWEL 500ms Sets the dwell time of step sweep for CH2 to 500ms RF...

Page 125: ...ble to connect the signal generator to the PC via the USB DEVICE interface on the rear panel of the signal generator 3 After the signal generator is properly connected to the PC connect the signal generator to power source and turn it on 4 In this case Found New Hardware Wizard dialog box appears on the PC Please install USB Test and Measurement Device IVI according to the instructions 5 Acquire t...

Page 126: ...ed in this instance Microsoft Office Excel 2016 Function realized in this example sending the IDN command and reading the instrument information 1 Create a new Excel file that enables the Macros and name it DSG5000_Demo_Excel xlsm 2 Run DSG5000_Demo_Excel xlsm Click File Options at the upper left corner of the Excel file to open the interface as shown in the figure below Click Customize Ribbon at ...

Page 127: ...e figure below Click the Developer menu and select the Visual Basic option to open the Microsoft Visual Basic 4 Select Tools T in the Microsoft Visual Basic menu bar and click References Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 119 ...

Page 128: ... left section of the above dialog box please follow the method below to find it 1 Make sure that your PC has installed the NI VISA library 2 Click Browse at the right section to search visa32 dll from C WINDOWS system32 as shown in the figure below Programming Examples 120 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 129: ... device resource descriptor is in CELLS 1 2 of SHEET1 viErr visa viOpenDefaultRM viDefRm viErr visa viOpen viDefRm Sheet1 Cells 1 2 0 5000 viDevice Send request read the data and the return value is in CELLS 2 2 of SHEET1 cmdStr IDN viErr visa viWrite viDevice cmdStr Len cmdStr ret viErr visa viRead viDevice idnStr 128 ret Sheet1 Cells 2 2 idnStr Turn off the device visa viClose viDevice visa viCl...

Page 130: ...tlab Programming Example Program used in this example MATLAB R2009a Functions realized in this demo read the current frequency and amplitude of the microwave signal generator 1 Run the Matlab software and modify the current path Current Directory In this example modify the current path to D DSG5000_Demo 2 Click File New Blank M File in the Matlab interface to create an empty M file Programming Exa...

Page 131: ...s DSG5000_Demo_MATLAB m 5 Run the M file and the running results are displayed as follows meas_RF_FREQ 1 500 000 000 00 meas_RF_LEV 20 00 The results above denote that the current frequency of the microwave signal generator is 1 5 GHz and the amplitide is 20 dBm 5 4 LabVIEW Programming Example Program used in this example LabVIEW 2009 Function realized in this example search for the instrument add...

Page 132: ...the While cycle to create an event structure 4 Add the events including connecting to the instrument write operation read operation and exit a Connect including error processing Programming Examples 124 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 133: ...b Write operation including error confirmation Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 125 ...

Page 134: ...c Read operation including error correction advice d Exit Programming Examples 126 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved ...

Page 135: ...te the command to the instrument If the command is a query e g FREQ click Write to write the command into the instrument and then click Read The return value is displayed in the Return field The return value 1 500 000 000 00GHz denote that the current frequency of the RF signal is 1 5GHz is displayed in the Return text box Click Exit to exit the program Programming Examples Copyright RIGOL TECHNOL...

Page 136: ...Include files from the drop down list under Show directories for Double click the empty space under Directories to enter the specified path of Include files C Program Files IVI Foundation VISA WinNT include Click OK to close the dialog box Select Library files from the drop down list under Show directories for Double click the empty space under Directories to enter the specified path of Library fi...

Page 137: ...Addr Command CString m_strCommand Returned value CString m_strResult 6 Encapsulate the read and write operations of VISA a Encapsulate the write operation of VISA for easier operation bool CDSG5000_DEMO_VCDlg InstrWrite CString strAddr CString strContent write function ViSession defaultRM instr ViStatus status ViUInt32 retCount char SendBuf NULL Programming Examples Copyright RIGOL TECHNOLOGIES CO...

Page 138: ...ent status viClose instr status viClose defaultRM return bWriteOK b Encapsulate the read operation of VISA for easier operation bool CDSG5000_DEMO_VCDlg InstrRead CString strAddr CString pstrResult Read from the instrument ViSession defaultRM instr ViStatus status ViUInt32 retCount char SendAddr NULL unsigned char RecBuf MAX_REC_SIZE bool bReadOK false CString str Change the address s data style f...

Page 139: ...00 CString strSrc CString strInstr unsigned long i 0 bool bFindDSG false status viOpenDefaultRM defaultRM if status VI_SUCCESS Error Initializing VISA exiting MessageBox No VISA instrument was opened return memset instrDesc 0 1000 Find resource status viFindRsrc defaultRM expr findList retcnt instrDesc for i 0 i retcnt i Get instrument name strSrc Format s instrDesc InstrWrite strSrc IDN Sleep 200...

Page 140: ...MO_VCDlg OnRead TODO Add your control notification handler code here UpdateData true InstrRead m_strInstrAddr m_strResult UpdateData false 8 Run the results a Click Connect to find and connect the microwave signal generator If the instrument is successfully connected the corresponding USB VISA descriptor will be displayed in the address bar b Input command in the Command edit box for example SWE D...

Page 141: ...ency 1 GHz Stop Frequency 2 GHz Start Level 10 dBm Stop Level 20 dBm Sweep Points 11 Dwell Time 500 ms Sweep Space Lin Sweep Shape Triangle Trigger Type for the Sweep Period Auto Trigger Point Trigger Type Auto Trigger Slope of the External Trigger Pos Sweep Direction Fwd AM Switch OFF Modulation Source Internal Modulation Depth 50 Modulation Frequency 10 kHz Modulating Waveform Sine Equal Level O...

Page 142: ...ine Pulse Switch OFF Modulation Source Internal Pulse Type Single Pulse Period 1 ms Pulse Width 500 us Trigger Type Auto Pulse Output OFF Trig Delay 200 ns Pulse Polarity Normal Gated Polarity Normal Slope of the External Trigger Pos Output Control RF Switch OFF MOD Switch OFF System Language English Preset Type Factory DHCP ON Auto IP ON Manual IP OFF Screen Lock OFF Power Status Default Appendix...

Page 143: ...oducts within a reasonable period of time 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 liable for any consequen...

Page 144: ......

Reviews: