Page 5
SSG5000X Series Programming Guide Programming Overview The SSG5000X Series Signal Generator supports USB, LAN and USB-GPIB interfaces. Through these interfaces, combined with NI-VISA and corresponding programming language, users can use the command set based on SCPI (Standard Commands for Programmable Instruments) to remotely program and control the instrument, and interact with other programmable instruments that support the SCPI command set.
Page 6
SSG5000X Series Programming Guide Click Unzip. Then the installation process will launch automatically after unzipping files. If your computer needs to install the .NET Framework 4, it shall auto-start. The NI-VISA install dialog is shown above. Click Next to start the installation process.
Page 7
SSG5000X Series Programming Guide Click Next twice. In the License Agreement dialog, select “I accept the above 2 License Agreement(s).” and click Next. The dialog box will appear as shown below: Click Next to begin installation. int.siglent.com...
Page 8
SSG5000X Series Programming Guide Now the installation is complete. Reboot your computer. Connect the instrument to computer 1.1.2 The signal generator may be able to communicate with the computer through the USB, LAN or USB- GPIB interface. Connect using USB interface 1.1.2.1...
Page 9
Please refer to the following steps to finish the connection via the LAN interface: Install the NI-VISA GPIB driver on the computer. Use the SIGLENT USB-GPIB adapter to connect the USB Host interface of the signal generator to the GPIB interface of the computer.
Page 10
SSG5000X Series Programming Guide Remote Control User-defined Programming 1.2.1 Users can send SCPI commands through the computer to program and control the signal generator. For details, please refer to the introduction in the “Programming Examples” chapter. Send SCPI via NI-MAX 1.2.2...
Page 11
SSG5000X Series Programming Guide Using LAN 1.2.2.2 Run NI-MAX. Click “Devices and Interfaces” > “Network Devices” in the upper left corner of the software. Click “Add Network Device” > “VISA TCP/IP Resource…”. In the pop-up “Create New...” window, select "Manual Entry of LAN Instrument" and then click Next.
Page 12
SSG5000X Series Programming Guide Enter the IP address of the signal generator in "Hostname or IP address". You can click "Validate" to verify whether the device can be connected via the entered IP. Click "Finish" to establish the connection. After a short scan, the resource name of the signal generator should be displayed under "Network Devices".
Page 13
SSG5000X Series Programming Guide Select the signal generator device and click the “Open VISA Test Panel” button. Select the “Input/Output” page in the VISA test panel. At this time, you can enter SCPI in the input field to write or query. Click the “Query” button as shown below to query the device’s IDN: Using USB-GPIB 1.2.2.3...
Page 14
SSG5000X Series Programming Guide Select the “Configuration” > “I/O Settings” in the VISA test panel. Check the Enable Termination Character option, and click Apply Changes button. Select the “Input/Output” page in the VISA test panel. At this time, you can enter SCPI in the input field to write or query.
Page 15
SSG5000X Series Programming Guide Send SCPI over Telnet 1.2.3 Telnet provides a way to communicate with the signal generator through the LAN interface. The Telnet protocol supports sending SCPI commands from the computer to the signal generator in a manner similar to communicating with the signal generator via USB.
Page 16
SSG5000X Series Programming Guide To re-enter the SCPI session with the instrument, you can enter open <IP Address> 5024 and press Enter. To close the Telnet window, type Quit and press Enter. Send SCPI over Socket 1.2.4 Socket API can be used to control the signal generator through the LAN interface without installing any other libraries, which can reduce the complexity of programming.
Page 17
SSG5000X Series Programming Guide Introduction to the SCPI Language Command Format SCPI commands are tree-like hierarchical structures, including multiple subsystems. Each subsystem consists of a root keyword and one or several hierarchical keywords. The command line usually starts with a colon “:” and keywords are separated by a colon “:”. The keyword is followed by optional parameter settings.
Page 18
SSG5000X Series Programming Guide In the [:SOURce]:AM:STATe OFF|ON|0|1 command, the optional command parameters are "OFF", "ON", "0" or "1". Braces { } Parameters in braces are optional and may not be set, or may be set once or multiple times. For example: In the :CALCulate:LLINe[1]|2:DATA <x-axis>,<ampl>{,<x-axis>,<ampl>} command,...
Page 19
SSG5000X Series Programming Guide For example: In [:SOURce]:POWer:OFFSet <value> command, the parameter <value> can be set to any real number between -100 and 100. String The parameter should be the combination of ASCII characters. For example: In :SYSTem:COMMunicate:LAN:IPADdress <“xxx.xxx.xxx.xxx”> command, the IP address can be set as the string “192.168.1.12”.
Page 20
SSG5000X Series Programming Guide Commands IEEE 488.2 Common Commands The IEEE standards defined the common commands used for querying the basic information of the instrument and performing basic operations. These commands usually start with "*" and the length of the command keyword is usually 3 characters.
Page 21
SSG5000X Series Programming Guide DATA TYPE Integer RANGE 0 to 255 EQUIVALENT MENU None EXAMPLE *ESE 16 *ESE? Return: 16\n Standard Event Status Register Query (*ESR?) 3.1.5 SYNTAX *ESR? DESCRIPTION This command reads the value of the Standard Event Status Register.
Page 22
SSG5000X Series Programming Guide *SRE? Return: 24\n Status Byte Query (*STB?) 3.1.8 SYNTAX *STB? DESCRIPTION This command reads the value of Status Byte Register. EQUIVALENT MENU None EXAMPLE *STB? Return: 72\n Wait-to-Continue (*WAI) 3.1.9 SYNTAX *WAI DESCRIPTION This command waits for the execution of all objects sent before this command to be completed.
Page 23
SSG5000X Series Programming Guide SYSTem Commands System Configuration 3.2.1 System Time (:SYSTem:TIME) 3.2.1.1 SYNTAX :SYSTem:TIME <hhmmss> :SYSTem:TIME? DESCRIPTION This command sets/gets the system time. DATA TYPE String RANGE Hours (0 ~ 23), minutes (0 ~ 59), seconds (0 ~ 59)
Page 24
SSG5000X Series Programming Guide EXAMPLE :SYSTem:COMMunicate:LAN:IPADdress “192.168.1.12” :SYSTem:COMMunicate:LAN:IPADdress? Return: “192.168.1.12”\n Gateway (:SYSTem:COMMunicate:LAN:GATeway) 3.2.1.4 SYNTAX :SYSTem:COMMunicate:LAN:GATeway <“xxx.xxx.xxx.xxx”> :SYSTem:COMMunicate:LAN:GATeway? DESCRIPTION This command sets/gets the gateway of the device when the IP assignment is set to Static. DATA TYPE String RANGE Conforms to the IP address standard (0-255:0-255:0-255:0-255)
Page 25
SSG5000X Series Programming Guide EQUIVALENT MENU UTILITY > Interface > LAN Setting > DHCP State EXAMPLE :SYSTem:COMMunicate:LAN:TYPE STATIC :SYSTem:COMMunicate:LAN:TYPE? Return: STATIC\n Language (SYSTem:LANGuage) 3.2.1.7 SYNTAX :SYSTem:LANGuage CHINese|ENGLish :SYSTem:LANGuage? DESCRIPTION This command sets/gets the system language. DATA TYPE Enumeration RANGE CHINese|ENGLish...
Page 26
SSG5000X Series Programming Guide RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU UTILITY > Setting > Beeper EXAMPLE :SYSTem:ALARm ON :SYSTem:ALARm? Return: Setup Type (:SYSTem:PON:TYPE) 3.2.1.10 SYNTAX :SYSTem:PON:TYPE DFT|LAST :SYSTem:PON:TYPE? DESCRIPTION This command sets/gets the system startup type. DATA TYPE Enumeration...
Page 27
SSG5000X Series Programming Guide 10M Adjustment State (:SYSTem:REF:DAC:STAT) 3.2.1.12 SYNTAX :SYSTem:REF:DAC:STAT ON|OFF|1|0 :SYSTem:REF:DAC:STAT? DESCRIPTION This command sets/gets the state of system 10M adjustment. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU UTILITY > Setting > 10M Adjustment EXAMPLE...
Page 28
SSG5000X Series Programming Guide Ref Osc Code Load (:SYSTem:REF:DAC:LOAD) 3.2.1.15 SYNTAX :SYSTem:REF:DAC:LOAD <”file_name”> DESCRIPTION This command loads the reference oscillator code from a DAC file. DATA TYPE String RANGE None EQUIVALENT MENU UTILITY > Setting > 10M Adjustment > Recall Ref Osc Setting EXAMPLE :SYSTem:REF:DAC:LOAD “U-disk3/test.dac”...
Page 29
SSG5000X Series Programming Guide Query Clock Reference Source (:SYStem:CLOCk?) 3.2.1.19 :SYStem:CLOCk? SYNTAX Query whether the clock reference source used by the instrument is DESCRIPTION internal or external. EXTERNAL: The instrument uses an external clock reference, RETURN INTERNAL: The instrument uses an internal clock reference.
Page 30
SSG5000X Series Programming Guide System Reset/Preset 3.2.2 System Preset (:SYSTem:PRESet) 3.2.2.1 SYNTAX :SYSTem:PRESet DESCRIPTION This command presets the status of the instrument based on the preset type. EQUIVALENT MENU UTILITY > Preset, or PRESET EXAMPLE Reset the instrument to its default configuration:...
Page 31
SSG5000X Series Programming Guide DESCRIPTION This command sets/gets the preset type of the system. DATA TYPE Enumeration RANGE DFT|USER RETURN Enumeration DEFAULT VALUE EQUIVALENT MENU UTILITY > Setting > Preset Type EXAMPLE :SYSTem:PRESet:TYPE DFT :SYSTem:PRESet:TYPE? Return: DFT\n Factory Reset (:SYSTem:FDEFault) 3.2.2.5...
Page 32
SSG5000X Series Programming Guide OUTPut Commands RF Output (:OUTPut[:STATe]) 3.3.1 SYNTAX :OUTPut[:STATe] ON|OFF|1|0 :OUTPut[:STATe]? DESCRIPTION This command sets/gets the output status of the RF port. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT SCPI [:SOURce]:OUTPut ON|OFF|1|0 EQUIVALENT MENU RF ON/OFF or FREQ > RF State...
Page 33
SSG5000X Series Programming Guide SOURce Commands RF Output ([:SOURce]:OUTPut) 3.4.1 SYNTAX [:SOURce]:OUTPut ON|OFF|1|0 DESCRIPTION This command sets the output status of the RF port. DATA TYPE Boolean RANGE ON|OFF|1|0 EQUIVALENT SCPI :OUTPut[:STATe] ON|OFF|1|0 EQUIVALENT MENU RF ON/OFF or FREQ > RF State...
Page 34
SSG5000X Series Programming Guide Frequency ([:SOURce]:FREQuency) 3.4.3.2 SYNTAX [:SOURce]:FREQuency <freq> [:SOURce]:FREQuency? DESCRIPTION This command sets/gets the frequency of the RF output signal. DATA TYPE Float, unit: Hz, kHz, MHz or GHz, default is Hz RANGE Full frequency range RETURN Float, unit: Hz...
Page 35
SSG5000X Series Programming Guide PHASe? Return: 20\n Phase Reset ([:SOURce]:PHASe:RESet) 3.4.3.5 SYNTAX [:SOURce]:PHASe:RESet DESCRIPTION This command resets the phase offset display value of the RF signal to 0. EQUIVALENT SCPI [:SOURce]:PHASe:REF EQUIVALENT MENU FREQ > Reset phase delta display EXAMPLE...
Page 36
SSG5000X Series Programming Guide Level ([:SOURce]:POWer) 3.4.4.2 SYNTAX [:SOURce]:POWer <power> [:SOURce]:POWer? DESCRIPTION This command sets/gets the level of the RF output signal. DATA TYPE Float, unit: dBm, dBuV, uV, mV, V, nW, uW, mW or W, default is dBm RANGE...
Page 37
SSG5000X Series Programming Guide :POWer:OFFSet? Return: ALC State ([:SOURce]:POWer:ALC) 3.4.4.5 SYNTAX [:SOURce]:POWer:ALC ON|OFF|AUTO [:SOURce]:POWer:ALC? DESCRIPTION This command sets/gets the ALC state. DATA TYPE Enumeration RANGE ON|OFF|AUTO RETURN Enumeration DEFAULT VALUE AUTO EQUIVALENT MENU LEVEL > ALC State EXAMPLE :POWer:ALC ON...
Page 38
SSG5000X Series Programming Guide EQUIVALENT MENU LEVEL > Flatness > Add EXAMPLE CORRection:FLATness:PAIR 3 MHz,-3 Flatness List Delete Row ([:SOURce]:CORRection:FLATness:DELete) 3.4.4.8 SYNTAX [:SOURce]:CORRection:FLATness:DELete <row> DESCRIPTION This command removes a specified row from the flatness list. DATA TYPE Integer RANGE 1 ~ total number of rows in the flatness list EQUIVALENT MENU LEVEL >...
Page 39
SSG5000X Series Programming Guide DESCRIPTION This command saves the flatness list into a UFLT file. DATA TYPE String RANGE None EQUIVALENT MENU LEVEL > Flatness > Save EXAMPLE :CORRection:STORe “U-disk3/test.uflt” Flatness List Load ([:SOURce]:CORRection:LOAD) 3.4.4.12 SYNTAX [:SOURce]:CORRection:LOAD <”file_name”> DESCRIPTION This command loads the flatness list from a UFLT file.
Page 40
SSG5000X Series Programming Guide Flatness List Fill Start Freq ([:SOURce]:CORRection:FLATness:STARtfreq) 3.4.4.15 SYNTAX [:SOURce]:CORRection:FLATness:STARtfreq <freq> [:SOURce]:CORRection:FLATness:STARtfreq? DESCRIPTION When the flatness list needs to be filled with a power sensor and the filling type is “Manual Step”, this command sets/queries the starting frequency of manual step filling.
Page 41
SSG5000X Series Programming Guide DEFAULT VALUE LINear EQUIVALENT MENU LEVEL > Flatness > Setting > Fill Type (Manual Step) > Fill Space EXAMPLE :CORRection:FLATness:SPACe LINear :CORRection:FLATness:SPACe? Return: LINear\n Flatness List Fill Linear Step ([:SOURce]:CORRection:FLATness:LINStep) 3.4.4.18 SYNTAX [:SOURce]:CORRection:FLATness:LINStep <freq> [:SOURce]:CORRection:FLATness:LINStep? DESCRIPTION This command sets/queries the linear frequency step of manual step filling.
Page 42
SSG5000X Series Programming Guide RANGE 2 to 500 RETURN Integer DEFAULT VALUE EQUIVALENT MENU LEVEL > Flatness > Setting > Fill Type (Manual Step) > Points EXAMPLE :CORRection:FLATness:FILL:POINt 5 :CORRection:FLATness:FILL:POINt? Return: Fill Flatness with Sensor 3.4.4.21 ([:SOURce]:CORRection:CSET:DATA[:SENSor][:POWer]:SONCe) SYNTAX [:SOURce]:CORRection:CSET:DATA[:SENSor][:POWer]:SONCe DESCRIPTION Amplitude correction values to populate flatness list with power sensor.
Page 43
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE LIST|STEP RETURN Enumeration DEFAULT VALUE STEP EQUIVALENT MENU SWEEP > Step Sweep / List Sweep EXAMPLE :SWEep:TYPE STEP :SWEep:TYPE? Return: STEP\n Start Frequency ([:SOURce]:SWEep:STEP:STARt:FREQuency) 3.4.5.3 SYNTAX [:SOURce]:SWEep:STEP:STARt:FREQuency <freq> [:SOURce]:SWEep:STEP:STARt:FREQuency? DESCRIPTION This command sets/queries the starting frequency of step sweep.
Page 44
SSG5000X Series Programming Guide Start Level ([:SOURce]:SWEep:STEP:STARt:LEVel) 3.4.5.5 SYNTAX [:SOURce]:SWEep:STEP:STARt:LEVel <level> [:SOURce]:SWEep:STEP:STARt:LEVel? DESCRIPTION This command sets/queries the starting level of step sweep. DATA TYPE Float, unit: dBm, dBuV, uV, mV, V, nW, uW, mW or W, default is dBm RANGE...
Page 45
SSG5000X Series Programming Guide :SWEep:STEP:DWELl? Return: 0.02\n Sweep Points ([:SOURce]:SWEep:STEP:POINts) 3.4.5.8 SYNTAX [:SOURce]:SWEep:STEP:POINts <points> [:SOURce]:SWEep:STEP:POINts? DESCRIPTION This command sets/queries the sweep points of step sweep. DATA TYPE Integer RANGE 2 to 65535 RETURN Integer DEFAULT VALUE EQUIVALENT MENU SWEEP > Step Sweep > Sweep Points...
Page 46
SSG5000X Series Programming Guide RETURN Enumeration DEFAULT VALUE LINear EQUIVALENT MENU SWEEP > Step Sweep > Sweep Space EXAMPLE :SWEep:STEP:SPACe LOGarithmic :SWEep:STEP:SPACe? Return: LOGarithmic\n Linear Sweep Step ([:SOURce]:SWEep[:FREQuency]:STEP[:LINear]) 3.4.5.11 SYNTAX [:SOURce]:SWEep[:FREQuency]:STEP[:LINear] <freq> [:SOURce]:SWEep[:FREQuency]:STEP[:LINear]? DESCRIPTION This command sets/queries the linear frequency step of the step sweep.
Page 47
SSG5000X Series Programming Guide Sweep List Add Row ([:SOURce]:SWEep:LIST:ADDList) 3.4.5.13 SYNTAX [:SOURce]:SWEep:LIST:ADDList <freq>,<level>,<time> DESCRIPTION This command adds a line to the sweep list. DATA TYPE Freq: float, unit: Hz, kHz, MHz or GHz, default is Hz, Level: float, unit: dBm, dBuV, uV, mV, V, nW, uW, mW or W, default is...
Page 48
SSG5000X Series Programming Guide RETURN Integer DEFAULT VALUE EQUIVALENT MENU SWEEP > List Sweep EXAMPLE :SWEep:LIST:CPOint? Return: Sweep List Data ([:SOURce]:SWEep:LIST:LIST?) 3.4.5.17 SYNTAX [:SOURce]:SWEep:LIST:LIST? <begin_row>,<end_row> DESCRIPTION This command queries the data from begin_row to end_row in the sweep list. DATA TYPE...
Page 49
SSG5000X Series Programming Guide DATA TYPE String RANGE None EQUIVALENT MENU SWEEP > List Sweep > Open EXAMPLE :SWEep:LOAD “U-disk3/test.lsw” Sweep List Store ([:SOURce]:SWEep:STORe) 3.4.5.21 SYNTAX [:SOURce]:SWEep:STORe <”file_name”> DESCRIPTION This command saves the sweep list into a LSW file. DATA TYPE...
Page 50
SSG5000X Series Programming Guide EQUIVALENT MENU SWEEP > Sweep Mode EXAMPLE :SWEep:MODE SINGle :SWEep:MODE? Return: SINGle\n Execute Single Sweep ([:SOURce]:SWEep:EXECute) 3.4.5.24 SYNTAX [:SOURce]:SWEep:EXECute DESCRIPTION When the sweep mode is single, this command can perform a single sweep. EQUIVALENT MENU SWEEP > Execute single sweep...
Page 51
SSG5000X Series Programming Guide Return: KEY\n Trigger Slope ([:SOURce]:INPut:TRIGger:SLOPe) 3.4.5.27 SYNTAX [:SOURce]:INPut:TRIGger:SLOPe POSitive|NEGative [:SOURce]:INPut:TRIGger:SLOPe? DESCRIPTION This command sets/queries the trigger edge of the external trigger signal for the sweep function. DATA TYPE Enumeration RANGE POSitive|NEGative RETURN Enumeration DEFAULT VALUE POSitive EQUIVALENT MENU SWEEP >...
Page 52
SSG5000X Series Programming Guide EXAMPLE :SWEep:CURRent:FREQuency? Return: 1000000000.000000\n Get the Level of Current Sweep Point ([:SOURce]:SWEep:CURRent:LEVel?) 3.4.5.30 SYNTAX [:SOURce]:SWEep:CURRent:LEVel? DESCRIPTION This command queries the level of the current sweep point. RETURN Float, unit: dBm DEFAULT VALUE None EQUIVALENT MENU Display level at the top of the screen...
Page 53
SSG5000X Series Programming Guide DEFAULT VALUE EQUIVALENT SCPI :SENSe[:POWer]:SPC:TARGet <power> :SENSe[:POWer]:SPC:TARGet? EQUIVALENT MENU HOME > POWER SENSOR > Level Control > Target Level EXAMPLE :POWer:SPC:TARGet 0 :POWer:SPC:TARGet? Return: Limit Level ([:SOURce]:POWer:LIMit) 3.4.6.3 SYNTAX [:SOURce]:POWer:LIMit <power> [:SOURce]:POWer:LIMit? DESCRIPTION This command sets/queries the Limit level of the power sensor level control.
Page 54
SSG5000X Series Programming Guide Anolog Modulation 3.4.7 Anolog Modulation State ([:SOURce]:MODulation) 3.4.7.1 SYNTAX [:SOURce]:MODulation ON|OFF|1|0 [:SOURce]:MODulation? DESCRIPTION This command sets/gets the switch status of analog modulation. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT SCPI :OUTPut:MODulation[:STATe] ON|OFF|1|0 :OUTPut:MODulation[:STATe]? EQUIVALENT MENU ANALOG MOD >...
Page 55
SSG5000X Series Programming Guide RETURN Enumeration DEFAULT VALUE SINE EQUIVALENT MENU MOD > AM > AM Shape EXAMPLE :AM:WAVeform SQUare :AM:WAVeform? Return: SQUare\n AM Source ([:SOURce]:AM:SOURce) 3.4.7.2.3 SYNTAX [:SOURce]:AM:SOURce INTernal|EXTernal|INT,EXT [:SOURce]:AM:SOURce? DESCRIPTION This command sets/queries the modulation source of AM.
Page 56
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the modulation rate of AM. DATA TYPE Float, unit: Hz, kHz, MHz or GHz, default is Hz RANGE Modulation wave is Sine: 0.01 Hz ~ 100 kHz, Modulation wave is Square: 0.01 Hz ~ 20 kHz.
Page 57
SSG5000X Series Programming Guide FM Source ([:SOURce]:FM:SOURce) 3.4.7.3.2 SYNTAX [:SOURce]:FM:SOURce INT1|INT2|INT1,INT2|EXTernal|INT1,EXT|DUAL [:SOURce]:FM:SOURce? DESCRIPTION This command sets/queries the modulation source of FM. DATA TYPE Enumeration RANGE INT1|INT2|INT1,INT2|EXTernal|INT1,EXT|DUAL RETURN Enumeration DEFAULT VALUE INT1 EQUIVALENT MENU MOD > FM > FM Source EXAMPLE...
Page 58
SSG5000X Series Programming Guide EQUIVALENT MENU MOD > FM > FM Deviation1 EXAMPLE :FM1:DEViation 200 kHz :FM1:DEViation? Return: 200000\n FM Rate1 ([:SOURce]:FM1:FREQuency) 3.4.7.3.5 SYNTAX [:SOURce]:FM1:FREQuency <value> [:SOURce]:FM1:FREQuency? DESCRIPTION This command sets/queries the FM rate of the INT1 modulation source. DATA TYPE...
Page 59
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the frequency modulation waveform of INT2 modulation source. DATA TYPE Enumeration RANGE SINE|SQUare|SAWTooth|TRIangle RETURN Enumeration DEFAULT VALUE SINE EQUIVALENT MENU MOD > FM > FM Shape2 EXAMPLE :FM2:WAVeform TRIangle :FM2:WAVeform? Return: TRIangle\n FM Deviation2 ([:SOURce]:FM2:DEViation) 3.4.7.3.8...
Page 60
SSG5000X Series Programming Guide Return: 40000\n FM Phase2 ([:SOURce]:FM2:PHASe) 3.4.7.3.10 SYNTAX [:SOURce]:FM2:PHASe <value> [:SOURce]:FM2:PHASe? DESCRIPTION When the frequency modulation source is internal source 1 + internal source 2 (Int1 + Int2) or Dual waveform, this command sets/queries the initial phase of internal source 2.
Page 61
SSG5000X Series Programming Guide DEFAULT VALUE None EQUIVALENT MENU MOD > FM > FM Sensitivity1 EXAMPLE :FM1:SENSitivity? Return: 125000\n 3.4.7.4 PM State ([:SOURce]:PM:STATe) 3.4.7.4.1 SYNTAX [:SOURce]:PM:STATe ON|OFF|1|0 [:SOURce]:PM:STATe? DESCRIPTION This command sets/gets the switch status of phase modulation. DATA TYPE...
Page 62
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE INTernal|EXTernal|INT,EXT RETURN Enumeration DEFAULT VALUE INTernal EQUIVALENT MENU MOD > PM > PM Source EXAMPLE :PM:SOURce EXTernal :PM:SOURce? Return: EXTernal\n PM Deviation ([:SOURce]:PM:DEViation) 3.4.7.4.4 SYNTAX [:SOURce]:PM:DEViation <value> [:SOURce]:PM:DEViation? DESCRIPTION This command sets/queries the modulation deviation of the phase modulation.
Page 63
SSG5000X Series Programming Guide PM Sensitivity ([:SOURce]:PM:SENSitivity?) 3.4.7.4.6 SYNTAX [:SOURce]:PM:SENSitivity? DESCRIPTION This command queries the sensitivity of PM external modulation. RETURN Float, unit: rad/V DEFAULT VALUE None EQUIVALENT MENU MOD > PM > PM Sensitivity EXAMPLE PM:SENSitivity? Return: 0.25\n Pulse Modulation 3.4.8...
Page 64
SSG5000X Series Programming Guide EXAMPLE :PULM:SOURce INTernal :PULM:SOURce? Return: INTernal\n Pulse Source ([:SOURce]:PULM:SOURce:INT) 3.4.8.3 SYNTAX [:SOURce]:PULM:SOURce:INT INTernal|EXTernal [:SOURce]:PULM:SOURce:INT? DESCRIPTION This command sets/queries the modulation source of pulse modulation. DATA TYPE Enumeration RANGE INTernal|EXTernal RETURN Enumeration DEFAULT VALUE INTernal EQUIVALENT SCPI...
Page 65
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the pulse output status of pulse modulation. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU MOD > PULSE > Pulse Out EXAMPLE :PULM:OUT:STATe ON :PULM:OUT:STATe? Return: Pulse Out Polarity ([:SOURce]:PULM:POLarity) 3.4.8.6...
Page 66
SSG5000X Series Programming Guide Pulse Period ([:SOURce]:PULM:PERiod) 3.4.8.8 SYNTAX [:SOURce]:PULM:PERiod <value> [:SOURce]:PULM:PERiod? DESCRIPTION When the pulse mode is Single or Double, this command sets/queries the pulse period. DATA TYPE Float, unit: ns, us, ms or s, default is s RANGE...
Page 67
SSG5000X Series Programming Guide RANGE 20 ns ~ 300 s RETURN Float, unit: s DEFAULT VALUE 2 ms EQUIVALENT SCPI [:SOURce]:PULM:INT[1]:PWIDth <value> [:SOURce]:PULM:INT[1]:PWIDth? EQUIVALENT MENU MOD > PULSE > Pulse Width EXAMPLE PULM:WIDT 33 us PULM:WIDT? Return: 3.3e-05\n Pulse Width ([:SOURce]:PULM:INT[1]:PWIDth) 3.4.8.11...
Page 68
SSG5000X Series Programming Guide :PULM:DOUBle:DELay? Return: 0.002\n #2 Width ([:SOURce]:PULM:DOUBle:WIDTh) 3.4.8.13 SYNTAX [:SOURce]:PULM:DOUBle:WIDTh <time> [:SOURce]:PULM:DOUBle:WIDTh? DESCRIPTION When the pulse mode is Double, this command sets/queries the pulse width of the second pulse. DATA TYPE Float, unit: ns, us, ms or s, default is s...
Page 69
SSG5000X Series Programming Guide Pulse Train Edit On Time ([:SOURce]:PULM:TRAin:DATA:ONTime) 3.4.8.16 SYNTAX [:SOURce]:PULM:TRAin:DATA:ONTime <raw>,<on_time> DESCRIPTION This command edits the positive pulse width of the specified row in the pulse train. DATA TYPE Row: Integer, On_time: float, unit: ns, us, ms or s, default is s...
Page 70
SSG5000X Series Programming Guide Off_time: float, unit: ns, us, ms or s, default is s, Count: integer RANGE Row: 1 ~ total number of rows in the pulse train, On_time: 20 ns ~ 300 s, Off_time: 20 ns ~ 300 s,...
Page 71
SSG5000X Series Programming Guide Pulse Train Load ([:SOURce]:PULM:TRAin:LOAD) 3.4.8.23 SYNTAX [:SOURce]:PULM:TRAin:LOAD <”file_name”> DESCRIPTION This command loads the pulse train from a PULSTRN file. DATA TYPE String RANGE None EQUIVALENT MENU MOD > PULSE > Pulse Train > Load EXAMPLE PULM:TRAin:LOAD “U-disk3/test.pulstrn”...
Page 72
SSG5000X Series Programming Guide RANGE AUTO|SINGle|BUS|EXTernal|EGATe RETURN Enumeration DEFAULT VALUE AUTO EQUIVALENT MENU MOD > PULSE > Pulse Trigger EXAMPLE :PULM:TRIG:MODE EXTernal :PULM:TRIGger:MODE? Return: EXTernal\n Trigger Delay ([:SOURce]:PULM:DELay) 3.4.8.27 SYNTAX [:SOURce]:PULM:DELay <value> [:SOURce]:PULM:DELay? DESCRIPTION When the pulse trigger mode is EXTernal, this command sets/queries the trigger delay.
Page 73
SSG5000X Series Programming Guide Trigger Polarity ([:SOURce]:PULM:TRIGger:EXTernal:GATE:POLarity) 3.4.8.29 SYNTAX [:SOURce]:PULM:TRIGger:EXTernal:GATE:POLarity NORMal|INVerted [:SOURce]:PULM:TRIGger:EXTernal:GATE:POLarity? DESCRIPTION This command sets/queries the trigger polarity of the external gating signal for the pulse function. DATA TYPE Enumeration RANGE NORMal|INVerted RETURN Enumeration DEFAULT VALUE NORMal EQUIVALENT MENU MOD >...
Page 74
SSG5000X Series Programming Guide RETURN Float, unit: Vpp DEFAULT VALUE 0.5 Vpp EQUIVALENT MENU LF > LF Source > LF Level EXAMPLE LFOutput:VOLTage 2 Vpp LFOutput:VOLTage? Return: LF Offset ([:SOURce]:LFOutput:OFFSet) 3.4.9.3 SYNTAX [:SOURce]:LFOutput:OFFSet <voltage> [:SOURce]:LFOutput:OFFSet? DESCRIPTION This command sets/queries the amplitude offset of the LF output signal.
Page 75
SSG5000X Series Programming Guide LF Shape ([:SOURce]:LFOutput:SHAPe) 3.4.9.5 SYNTAX [:SOURce]:LFOutput:SHAPe SINE|SQUare|TRIangle|SAWTooth|DC [:SOURce]:LFOutput:SHAPe? DESCRIPTION This command sets/queries the wave shape of the LF output signal. DATA TYPE Enumeration RANGE SINE|SQUare|TRIangle|SAWTooth|DC RETURN Enumeration DEFAULT VALUE SINE EQUIVALENT MENU LF > LF Source > LF Shape...
Page 76
SSG5000X Series Programming Guide EQUIVALENT MENU LF > LF Sweep > Sweep State EXAMPLE :LFOutput:SWEep 1 :LFOutput:SWEep? Return: Sweep Direction ([:SOURce]:LFOutput:SWEep:DIRect) 3.4.10.2 SYNTAX [:SOURce]:LFOutput:SWEep:DIRect UP|DOWN [:SOURce]:LFOutput:SWEep:DIRect? DESCRIPTION This command sets/queries the direction of LF sweep. DATA TYPE Enumeration RANGE UP|DOWN...
Page 77
SSG5000X Series Programming Guide DATA TYPE Float, unit: Hz, kHz, MHz or GHz, default is Hz RANGE LF wave is Sine: 0.01 Hz ~ 1 MHz, LF wave is Square/Triangle/Sawtooth: 0.01 Hz ~ 20 kHz. RETURN Float, unit: Hz DEFAULT VALUE 1.5 kHz...
Page 78
SSG5000X Series Programming Guide Sweep Time ([:SOURce]:LFOutput:SWEep:DWELl) 3.4.10.7 SYNTAX [:SOURce]:LFOutput:SWEep:DWELl <time> [:SOURce]:LFOutput:SWEep:DWELl? DESCRIPTION This command sets/queries the sweep time of LF sweep. DATA TYPE Float, unit: ns, us, ms or s, default is s RANGE 1 ms ~ 500 s...
Page 79
SSG5000X Series Programming Guide Return: POS\n 3.4.10.10 Sweep Shape ([:SOURce]:LFOutput:SWEep:SHAPe) SYNTAX [:SOURce]:LFOutput:SWEep:SHAPe TRIangle|SAWTooth [:SOURce]:LFOutput:SWEep:SHAPe? DESCRIPTION This command sets/queries the sweep shape of LF sweep. DATA TYPE Enumeration RANGE TRIangle|SAWTooth RETURN Enumeration DEFAULT VALUE SAWTooth EQUIVALENT MENU LF > LF Sweep > Sweep Shape...
Page 80
SSG5000X Series Programming Guide IQ Modulation 3.4.12 IQ Modulation Switch ([:SOURce]:FUNCtion:DM:STATe) 3.4.12.1 SYNTAX [:SOURce]:FUNCtion:DM:STATe ON|OFF|1|0 [:SOURce]:FUNCtion:DM:STATe? DESCRIPTION This command sets/queries the overall switch status of IQ modulation. Note: When turning on the IQ modulation function, this switch must be turned on to turn on the modulation function.
Page 81
SSG5000X Series Programming Guide RETURN Enumeration DEFAULT VALUE EQUIVALENT MENU IQ > Custom > Data Source > Data Setup EXAMPLE :RADio:CUSTom:DATA PN9 :RADio:CUSTom:DATA? Return: PN9\n Symbol Rate ([:SOURce]:RADio:CUSTom:SRATe) 3.4.13.3 SYNTAX [:SOURce]:RADio:CUSTom:SRATe <val> [:SOURce]:RADio:CUSTom:SRATe? DESCRIPTION This command sets/queries the transmission symbol rate of Custom modulation.
Page 82
SSG5000X Series Programming Guide Bits/Symbol ([:SOURce]:RADio:CUSTom:SBIT?) 3.4.13.5 SYNTAX [:SOURce]:RADio:CUSTom:SBIT? DESCRIPTION This command gets the transmission bits per symbol of Custom modulation. This value is determined by the modulation type. RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > Custom > Data Source > Bits/Symbol...
Page 83
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > Custom > Modulation > Gray EXAMPLE :RADio:CUSTom:MODulation:GRAY 1 :RADio:CUSTom:MODulation:GRAY? Return: Store User-defined IQ Data ([:SOURce]:RADio:CUSTom:MODulation:STORe) 3.4.13.8 SYNTAX [:SOURce]:RADio:CUSTom:MODulation:STORe <”file_name”> DESCRIPTION This command saves the user-defined I/Q data to a MAP file. DATA TYPE...
Page 84
SSG5000X Series Programming Guide DESCRIPTION This command inserts a row into a user-defined IQ data list. DATA TYPE symbol: integer, i data: float, q data: float RANGE symbol: 0 ~ (current total number of symbols - 1), i data: -1 ~ 1,...
Page 85
SSG5000X Series Programming Guide 3.4.13.15 FSK Deviation ([:SOURce]:RADio:CUSTom:MODulation:FSK[:DEViation]) SYNTAX [:SOURce]:RADio:CUSTom:MODulation:FSK[:DEViation] <val> [:SOURce]:RADio:CUSTom:MODulation:FSK[:DEViation]? DESCRIPTION This command sets/queries the symmetric FSK frequency deviation value. DATA TYPE Float, unit: Hz RANGE 0 ~ 0.8*Symbol Rate*Oversampling RETURN Float, unit: Hz DEFAULT VALUE 600000 EQUIVALENT MENU IQ >...
Page 86
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > Custom > Filter > Filter Alpha/BT EXAMPLE :RADio:CUSTom:ALPHa 0.22 :RADio:CUSTom:ALPHa? Return: 0.22\n 3.4.13.18 Filter Length ([:SOURce]:RADio:CUSTom:FILTer:LENgth) SYNTAX [:SOURce]:RADio:CUSTom:FILTer:LENgth <length> [:SOURce]:RADio:CUSTom:FILTer:LENgth? DESCRIPTION This command sets/queries the filter length of Custom modulation. DATA TYPE...
Page 87
SSG5000X Series Programming Guide RETURN Float, unit: bps DEFAULT VALUE 4 MSps EQUIVALENT MENU None EXAMPLE :RADio:CUSTom:BRATe? Return: 4000000\n 3.4.13.21 Save Waveform ([:SOURce]:RADio:CUSTom:SAVE) SYNTAX [:SOURce]:RADio:CUSTom:SAVE <”file_name”> DESCRIPTION This command saves Custom modulated waveform data to an ARB file. DATA TYPE...
Page 88
SSG5000X Series Programming Guide Select Waveform ([:SOURce]:RADio:ARB:WAVeform) 3.4.14.2 SYNTAX [:SOURce]:RADio:ARB:WAVeform <“WFM:segment”|“SEQ:sequence”> [:SOURce]:RADio:ARB:WAVeform? DESCRIPTION This command sets/queries the waveform segment or waveform sequence currently played by ARB. DATA TYPE String RANGE "WFM:segment": waveform name in > ARB > Waveform Segment, "SEQ:sequence": waveform name in >...
Page 89
SSG5000X Series Programming Guide EQUIVALENT SCPI [:SOURce]:IQ:DUALarb:SEGMent:LOAD:DATA <“file_name”> [:SOURce]:IQ:DUALarb:SEGMent:LOAD:TEXT <“file_name”> EQUIVALENT MENU IQ > ARB > Waveform Segment > Load EXAMPLE :IQ:DUALarb:SEGMent:LOAD “Local/test.arb” :IQ:DUALarb:SEGMent:LOAD “Local/sine.wdbin” :IQ:DUALarb:SEGMent:LOAD “Local/16qam.txt” Load Segment ([:SOURce]:IQ:DUALarb:SEGMent:LOAD:DATA) 3.4.14.5 SYNTAX [:SOURce]:IQ:DUALarb:SEGMent:LOAD:DATA <“file_name”> DESCRIPTION This command loads a waveform segment file in the ARB segment list.
Page 90
SSG5000X Series Programming Guide EXAMPLE :IQ:DUALarb:SEGMent:DEL "sine" Rename Segment ([:SOURce]:IQ:DUALarb:SEGMent:REName) 3.4.14.8 SYNTAX [:SOURce]:IQ:DUALarb:SEGMent:REName <“original_name”>,<“new_name”> DESCRIPTION This command renames the name of a waveform segment in the ARB segment list. DATA TYPE String, string RANGE original_name: waveform name in IQ > ARB > Waveform Segment, new_name: Please refer to the user manual for naming rules.
Page 91
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > ARB > Waveform Sequence > Build EXAMPLE :RADio:ARB:SEQuence "SEQ:Test_Data","WFM:ramp_wave",25,M1M4,"WFM:sine_wave",10 0,ALL,"SEQ:seq1",3,NONE :RADio:ARB:SEQuence? “SEQ:Test_Data” Return: "WFM:ramp_wave",25,M1M4,"WFM:sine_wave",100,ALL,"SEQ:seq1" ,3,NONE\n 3.4.14.11 Sample Clock ([:SOURce]:RADio:ARB:SCLock:RATE) SYNTAX [:SOURce]:RADio:ARB:SCLock:RATE <rate> [:SOURce]:RADio:ARB:SCLock:RATE? DESCRIPTION This command sets/queries the sample clock rate of ARB modulation.
Page 92
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the attenuation value of the ARB modulator. DATA TYPE Float, unit: dB RANGE 0 ~ 20 RETURN Float, unit: dB DEFAULT VALUE EQUIVALENT MENU IQ > ARB > ARB Setup > Modulation Atten...
Page 93
SSG5000X Series Programming Guide 3.4.14.16 Power Control ([:SOURce]:RADio:ARB:NOISe:POWer:TYPE) SYNTAX [:SOURce]:RADio:ARB:NOISe:POWer:TYPE CARRier|CHNO|TONO|TOPO [:SOURce]:RADio:ARB:NOISe:POWer:TYPE? DESCRIPTION This command sets/queries the power control mode of ARB real-time AWGN. DATA TYPE Enumeration RANGE CARRier|CHNO|TONO|TOPO RETURN Enumeration DEFAULT VALUE TOPO EQUIVALENT MENU IQ > ARB > ARB Setup > Real Time AWGN > Power Control...
Page 94
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > ARB > ARB Setup > Real Time AWGN > Carrier Power EXAMPLE :RADio:ARB:NOISe:POWer:CARRier 0 dBm :RADio:ARB:NOISe:POWer:CARRier? Return: 3.4.14.19 Total Noise Power ([:SOURce]:RADio:ARB:NOISe:POWer:TONOise) SYNTAX [:SOURce]:RADio:ARB:NOISe:POWer:TONOise <power> [:SOURce]:RADio:ARB:NOISe:POWer:TONOise? DESCRIPTION This command sets/queries the total noise power value of ARB real- time AWGN.
Page 95
SSG5000X Series Programming Guide real-time AWGN. DATA TYPE Enumeration RANGE CARRier|BIT RETURN Enumeration DEFAULT VALUE CARRier IQ > ARB > ARB Setup > Real Time AWGN > Carrier To Noise Ratio EQUIVALENT MENU Format EXAMPLE :RADio:ARB:NOISe:CN:FORMat BIT :RADio:ARB:NOISe:CN:FORMat? Return: BIT\n 3.4.14.22 Carrier To Noise Ratio ([:SOURce]:RADio:ARB:NOISe:CN)
Page 96
SSG5000X Series Programming Guide Return: -5\n 3.4.14.24 Carrier Bit Rate ([:SOURce]:RADio:ARB:NOISe:BRATe) SYNTAX [:SOURce]:RADio:ARB:NOISe:BRATe <rate> [:SOURce]:RADio:ARB:NOISe:BRATe? DESCRIPTION This command sets/queries the carrier bit rate of ARB real-time AWGN. DATA TYPE Float, unit: Sps RANGE 1 ~ 10*Carrier Bandwidth RETURN Float, unit: Sps...
Page 97
SSG5000X Series Programming Guide RETURN Float, unit: Hz DEFAULT VALUE 1 Hz EQUIVALENT MENU IQ > ARB > ARB Setup > Real Time AWGN > Flat Noise Bandwidth EXAMPLE :RADio:ARB:NOISe:NBWidth 5000000 :RADio:ARB:NOISe:NBWidth? Return: 5000000\n 3.4.14.27 ARB Filter Type ([:SOURce]:IQ:DUALarb:FILTer:TYPE) SYNTAX...
Page 98
SSG5000X Series Programming Guide [:SOURce]:IQ:DUALarb:FILTer:LENgth? DESCRIPTION This command sets/queries the filter length of ARB modulation. DATA TYPE Integer RANGE 1 ~ 512 RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > ARB > ARB Setup > Modulation Filter > Filter Length...
Page 99
SSG5000X Series Programming Guide DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU IQ > ARB > ARB Setup > Baseband Offset EXAMPLE :RADio:ARB:OFFSet:STATe 1 :RADio:ARB:OFFSet:STATe? Return: 3.4.14.33 Baseband Offset Freq ([:SOURce]:RADio:ARB:OFFSet:FREQuency) SYNTAX [:SOURce]:RADio:ARB:OFFSet:FREQuency <freq> [:SOURce]:RADio:ARB:OFFSet:FREQuency? DESCRIPTION This command sets/queries the baseband offset frequency of ARB modulation.
Page 100
SSG5000X Series Programming Guide DESCRIPTION This command sets the identification point of an ARB waveform segment. DATA TYPE segment: string, waveform segment name, index: integer, first_point: integer, marking the first identification point of the waveform segment, last_point: integer, marking the last identification point of the waveform...
Page 101
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > ARB > Marker Utilities > Marker Polarity EXAMPLE :RADio:ARB:MPOLarity:MARKer1 NEG :RADio:ARB:MPOLarity:MARKer1? Return: NEG\n 3.4.14.38 Marker Output ([:SOURce]:RADio:ARB:MARKer:OUTPut) SYNTAX [:SOURce]:RADio:ARB:MARKer:OUTPut NONE|M1|M2|M3|M4 [:SOURce]:RADio:ARB:MARKer:OUTPut? DESCRIPTION This command sets/queries the output identification point of the ARB waveform segment.
Page 102
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE NONE|M1|M2|M3|M4 RETURN Enumeration DEFAULT VALUE NONE EQUIVALENT MENU IQ > ARB > Marker Utilities > Pulse/RF Blank EXAMPLE :RADio:ARB:MDEStination:PULSe M2 :RADio:ARB:MDEStination:PULSe? Return: M2\n 3.4.14.41 Clipping ([:SOURce]:RADio:ARB:CLIPping) SYNTAX [:SOURce]:RADio:ARB:CLIPping <“segment”>,IJQ|IORQ,<val>[,<val>] DESCRIPTION This command sets the clipping level of the selected waveform segment to a percentage of its highest peak.
Page 103
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE CONTinous| SINGle| SADVance| GATE RETURN Enumeration DEFAULT VALUE CONTinous EQUIVALENT MENU IQ > ARB > Trigger > Trigger Type EXAMPLE :IQ:DUALarb:TRIGger:TYPE SINGle :IQ:DUALarb:TRIGger:TYPE? Return: SINGle\n 3.4.14.44 ARB Trigger Continuous Mode ([:SOURce]:IQ:DUALarb:TRIGger:CONTinous) SYNTAX...
Page 104
SSG5000X Series Programming Guide 3.4.14.46 ARB Trigger Segment Mode ([:SOURce]:IQ:DUALarb:TRIGger:SEGMent) SYNTAX [:SOURce]:IQ:DUALarb:TRIGger:SEGMent SINGle | CONTinous [:SOURce]:IQ:DUALarb:TRIGger:SEGMent? DESCRIPTION This command sets/queries the trigger mode of ARB segment triggered in advance. DATA TYPE Enumeration RANGE SINGle | CONTinous RETURN Enumeration DEFAULT VALUE CONTinous IQ >...
Page 105
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > ARB > Trigger > Trigger Source EXAMPLE :IQ:DUALarb:TRIGger:SOURce EXT :IQ:DUALarb:TRIGger:SOURce? Return: EXT\n 3.4.14.49 ARB Bus Trigger ([:SOURce]:IQ:DUALarb:TRG) SYNTAX [:SOURce]:IQ:DUALarb:TRG DESCRIPTION When the ARB trigger source is Bus, executing this command sends an ARB trigger signal.
Page 106
SSG5000X Series Programming Guide :IQ:DUALarb:TRIGger:DELay:TYPE? Return: SAMPle\n 3.4.14.52 ARB Trigger Delay Time ([:SOURce]:IQ:DUALarb:TRIGger:DELay:TIME) SYNTAX [:SOURce]:IQ:DUALarb:TRIGger:DELay:TIME <value> [:SOURce]:IQ:DUALarb:TRIGger:DELay:TIME? DESCRIPTION This command sets/queries the trigger delay time of ARB external trigger. DATA TYPE Float, unit: s RANGE 0 ~ 40s RETURN Float, unit: s DEFAULT VALUE IQ >...
Page 107
SSG5000X Series Programming Guide RETURN String DEFAULT VALUE None EQUIVALENT MENU IQ > ARB > Waveform Header EXAMPLE :RADio:ARB:WAVeform “WFM:SINE_WAVE” :IQ:DUALarb:HEADer:INFO? Return: discript= sampling rate=Unspecified marker1 polary=Unspecified marker2 polary=Unspecified marker3 polary=Unspecified marker4 polary=Unspecified rf marker=Unspecified output marker=Unspecified atten type=Unspecified atten value=Unspecified...
Page 108
SSG5000X Series Programming Guide 3.4.14.57 Describe ([:SOURce]:IQ:DUALarb:HEADer:DESCript) SYNTAX [:SOURce]:IQ:DUALarb:HEADer:DESCript <“string”> [:SOURce]:IQ:DUALarb:HEADer:DESCript? DESCRIPTION This command sets/queries the header file description of a waveform segment or sequence. DATA TYPE String RANGE Please refer to the user manual for naming rules. RETURN String...
Page 109
SSG5000X Series Programming Guide 3.4.14.60 Multicarrier Assistant ([:SOURce]:RADio:DMODulation:ARB:SETup:MCARrier) SYNTAX [:SOURce]:RADio:DMODulation:ARB:SETup:MCARrier <“segment”>,<num>,<freq_space> [:SOURce]:RADio:DMODulation:ARB:SETup:MCARrier? DESCRIPTION This command builds a carrier table using the specified number of identical subcarriers and frequency spacing. The query command returns the subcarrier name, subcarrier number and frequency interval of the multi-carrier.
Page 110
SSG5000X Series Programming Guide RETURN String Format: <carrier>,<freq_offset>,<power>,<phase>,<sample_clock>, <sample_points> DEFAULT VALUE SINE_WAVE,0,0,0,2e+06,200\n EQUIVALENT MENU IQ > ARB > Multi Carrier > Carrier Table EXAMPLE :RADio:DMODulation:ARB:SETup:MCARrier:TABLe INIT,"RAMP_WAVE",1000000,-10,20 :RADio:DMODulation:ARB:SETup:MCARrier:TABLe APPend,"RAMP_WAVE",2000000,-5,90 :RADio:DMODulation:ARB:SETup:MCARrier:TABLe 2,"TEST",- 5000000,-2,-30 :RADio:DMODulation:ARB:SETup:MCARrier:TABLe? 1 Return: RAMP_WAVE,1e+06,-10,20,2e+06,200\n 3.4.14.62 Multicarrier Save ([:SOURce]:RADio:DMODulation:ARB:SETup:MCARrier:STORe) SYNTAX [:SOURce]:RADio:DMODulation:ARB:SETup:MCARrier:STORe <“file_name”>...
Page 111
SSG5000X Series Programming Guide RANGE RMS | PEAK RETURN Enumeration DEFAULT VALUE PEAK EQUIVALENT MENU IQ > ARB > Multi Carrier > Power Reference EXAMPLE :IQ:CARRier:POWer:TYPE RMS :IQ:CARRier:POWer:TYPE? Return: RMS\n 3.4.14.65 Multicarrier Signal Period Mode ([:SOURce]:IQ:CARRier:PERIod:MODE) SYNTAX [:SOURce]:IQ:CARRier:PERIod:MODE LONGest | SHORtest | USER...
Page 112
SSG5000X Series Programming Guide 3.4.14.67 Multicarrier Sampling Rate ([:SOURce]:IQ:CARRier:SAMPlerate?) SYNTAX [:SOURce]:IQ:CARRier:SAMPlerate? DESCRIPTION This command queries the sampling rate of ARB multi-carrier. RETURN Float, unit: Hz DEFAULT VALUE None EQUIVALENT MENU IQ > ARB > Multi Carrier > Sampling Rate EXAMPLE...
Page 113
SSG5000X Series Programming Guide DEFAULT VALUE INTernal EQUIVALENT MENU IQ > I/Q Control > I/Q Source EXAMPLE :DM:SOURce EXTernal :DM:SOURce? Return: EXTernal\n Compensation Channel ([:SOURce]:DM:BW:CAL:LINK) 3.4.15.3 SYNTAX [:SOURce]:DM:BW:CAL:LINK RF|OUTPut [:SOURce]:DM:BW:CAL:LINK? DESCRIPTION This command sets/queries broadband compensation links. DATA TYPE Enumeration...
Page 114
SSG5000X Series Programming Guide DATA TYPE Float, unit: dB RANGE -4 ~ 4 RETURN Float, unit: dB DEFAULT VALUE EQUIVALENT MENU IQ > I/Q Control > I/Q Adjustment > Gain Balance EXAMPLE :DM:IQADjustment:GAIN -0.5 :DM:IQADjustment:GAIN? Return: -0.5\n I Offset ([:SOURce]:DM:IQADjustment:IOFFset) 3.4.15.6...
Page 115
SSG5000X Series Programming Guide Quad Angle Adjustment ([:SOURce]:DM:IQADjustment:QSKew) 3.4.15.8 SYNTAX [:SOURce]:DM:IQADjustment:QSKew <val> [:SOURce]:DM:IQADjustment:QSKew? DESCRIPTION This command adjusts the phase angle (quadrature skew) between the I and Q vectors by increasing or decreasing the Q phase angle. It only affects the RF output path. Positive skew causes the angle to increase from 90 degrees, while negative skew causes the angle to decrease from 90 degrees.
Page 116
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > I/Q Control > I/Q Output > I/Q Output Atten EXAMPLE :DM:IQADjustment:EXTernal:IQATten 2.13 :DM:IQADjustment:EXTernal:IQATten? Return: 2.13\n 3.4.15.11 I/Q Output Gain Balance ([:SOURce]:DM:IQADjustment:EXTernal:GAIN) SYNTAX [:SOURce]:DM:IQADjustment:EXTernal:GAIN <val> [:SOURce]:DM:IQADjustment:EXTernal:GAIN? DESCRIPTION This command sets/queries the I/Q gain ratio for signals routed to the...
Page 117
SSG5000X Series Programming Guide DATA TYPE Float, unit: mV or V, default is V RANGE -3 V ~ 3 V RETURN Float, unit: V DEFAULT VALUE EQUIVALENT MENU IQ > I/Q Control > I/Q Output > Q Output Offset EXAMPLE :DM:IQADjustment:EXTernal:DQOFfset -0.12...
Page 118
SSG5000X Series Programming Guide 3.4.16 Protocol Type ([:SOURce]:RADio:IOT:TYPE) 3.4.16.1 SYNTAX [:SOURce]:RADio:IOT:TYPE ZIGBee | ZWAVe [:SOURce]:RADio:IOT:TYPE? DESCRIPTION This command sets/queries the protocol type of IoT modulation. DATA TYPE Enumeration RANGE ZIGBee | ZWAVe RETURN Enumeration DEFAULT VALUE ZIGBee EQUIVALENT MENU IQ > IoT > Protocol Type...
Page 119
SSG5000X Series Programming Guide OverSampling Ratio ([:SOURce]:RADio:ZIGBee:OSAMple:RATio) 3.4.16.2.3 SYNTAX [:SOURce]:RADio:ZIGBee:OSAMple:RATio <val> [:SOURce]:RADio:ZIGBee:OSAMple:RATio? DESCRIPTION This command sets/queries the oversampling rate of ZigBee modulated wave. DATA TYPE Integer RANGE 2 ~ 64 RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > Basic > OverSampling Ratio...
Page 120
SSG5000X Series Programming Guide Waveform Length ([:SOURce]:RADio:ZIGBee:WAVeform:LENgth?) 3.4.16.2.6 SYNTAX [:SOURce]:RADio:ZIGBee:WAVeform:LENgth? DESCRIPTION This command queries the waveform length of the ZigBee modulated wave. RETURN Float, unit: s DEFAULT VALUE None EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > Basic > Waveform Length...
Page 121
SSG5000X Series Programming Guide Return: 0.01\n Frequency Band ([:SOURce]:RADio:ZIGBee:FREQ:BAND) 3.4.16.2.9 SYNTAX [:SOURce]:RADio:ZIGBee:FREQ:BAND F868M | F915M| F2450M [:SOURce]:RADio:ZIGBee:FREQ:BAND? DESCRIPTION This command sets/queries the frequency band of ZigBee modulation. DATA TYPE Enumeration RANGE F868M | F915M| F2450M RETURN Enumeration DEFAULT VALUE F868M IQ >...
Page 122
SSG5000X Series Programming Guide 3.4.16.2.12 SFD ([:SOURce]:RADio:ZIGBee:SFD?) SYNTAX [:SOURce]:RADio:ZIGBee:SFD? DESCRIPTION This command gets the SFD field (hexadecimal) of ZigBee PPDU. RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > SFD(Hex) EXAMPLE :RADio:ZIGBee:SFD? Return: a7\n 3.4.16.2.13 PHR ([:SOURce]:RADio:ZIGBee:PHR?)
Page 123
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the enable status of the MAC Header field of ZigBee PPDU. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > MAC Header...
Page 124
SSG5000X Series Programming Guide “8821,01,1234,5678,4321,8765,,0000,BD,00” :RADio:ZIGBee:FRAMe:BEACon? Return: 8820,01,1234,5678,4321,8765,,0000,BD,00\n 3.4.16.2.18 Data Frame Header ([:SOURce]:RADio:ZIGBee:FRAMe:DATA) SYNTAX [:SOURce]:RADio:ZIGBee:FRAMe:DATA <"header"> [:SOURce]:RADio:ZIGBee:FRAMe:DATA? DESCRIPTION This command sets/queries the MAC Header field of ZigBee Data frame. DATA TYPE String RANGE None RETURN String DEFAULT VALUE 8821,01,1234,5678,4321,8765,,,\n IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > MAC Frame EQUIVALENT MENU Type(Data) >...
Page 125
SSG5000X Series Programming Guide DATA TYPE String RANGE None RETURN String DEFAULT VALUE 8823,01,1234,5678,4321,8765,,,,00\n IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > MAC Frame EQUIVALENT MENU Type(MAC Command) > MAC Header EXAMPLE :RADio:ZIGBee:FRAMe:MAC “8823,56,1234,5678,4321,8765,, AABB,,12” :RADio:ZIGBee:FRAMe:MAC? Return: 8823,01,1234,5678,4321,8765,,,,00\n 3.4.16.2.21 Data Type ([:SOURce]:RADio:ZIGBee:PNTYpe)
Page 126
SSG5000X Series Programming Guide 3.4.16.2.23 Custom PN Data ([:SOURce]:RADio:ZIGBee:PN:USER:DATA) SYNTAX [:SOURce]:RADio:ZIGBee:PN:USER:DATA <user_data> DESCRIPTION This command sets custom PN data for the ZigBee PPDU Payload field. DATA TYPE Binary string RANGE None IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > Data Type EQUIVALENT MENU (User) >...
Page 127
SSG5000X Series Programming Guide DATA TYPE String RANGE None IQ > IoT > Protocol Type(ZigBee) > PPDU Settings > Data Type EQUIVALENT MENU (User) > User Data > Load EXAMPLE :RADio:ZIGBee:PN:LOAD “test.udata” 3.4.16.2.27 Data Length ([:SOURce]:RADio:ZIGBee:FRAMe:LEN) SYNTAX [:SOURce]:RADio:ZIGBee:FRAMe:LEN <val> [:SOURce]:RADio:ZIGBee:FRAMe:LEN?
Page 128
SSG5000X Series Programming Guide 3.4.16.2.29 MAC FCS State ([:SOURce]:RADio:ZIGBee:FCS:STATe) SYNTAX [:SOURce]:RADio:ZIGBee:FCS:STATe ON|OFF|1|0 [:SOURce]:RADio:ZIGBee:FCS:STATe? DESCRIPTION This command enables or disables MAC FCS in the PSDU. When turned off, it can be used to simulate an invalid FCS condition since the FCS section is actually filled with user data bits.
Page 129
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > Impairments > Frequency Offset EXAMPLE :RADio:ZIGBee:FREQ:OFFSet 1000 :RADio:ZIGBee:FREQ:OFFSet? Return: 1000\n 3.4.16.2.32 Marker 1 Source ([:SOURce]:RADio:ZIGBee:MARKer:ONE:SOURce) SYNTAX [:SOURce]:RADio:ZIGBee:MARKer:ONE:SOURce WAVeform| FRAMe [:SOURce]:RADio:ZIGBee:MARKer:ONE:SOURce? DESCRIPTION This command sets/queries the source of Mark 1 of the ZigBee modulated wave.
Page 130
SSG5000X Series Programming Guide 3.4.16.2.34 ZigBee Trigger Type ([:SOURce]:RADio:ZIGBee:TRIGger:TYPE) SYNTAX [:SOURce]:RADio:ZIGBee:TRIGger:TYPE CONTinous| SINGle| GATE [:SOURce]:RADio:ZIGBee:TRIGger:TYPE? DESCRIPTION This command sets/queries the trigger type of ZigBee. DATA TYPE Enumeration RANGE CONTinous| SINGle| GATE RETURN Enumeration DEFAULT VALUE CONTinous EQUIVALENT MENU IQ > IoT > Protocol Type(ZigBee) > Trigger > Trigger Type...
Page 131
SSG5000X Series Programming Guide RETURN Enumeration DEFAULT VALUE IQ > IoT > Protocol Type(ZigBee) > Trigger > Trigger Type(Ext EQUIVALENT MENU Gated) > Gate Mode EXAMPLE :RADio:ZIGBee:TRIGger:GATE HIGH :RADio:ZIGBee:TRIGger:GATE? Return: HIGH\n 3.4.16.2.37 ZigBee Trigger Source ([:SOURce]:RADio:ZIGBee:TRIGger:SOURce) SYNTAX [:SOURce]:RADio:ZIGBee:TRIGger:SOURce KEY| BUS| EXT...
Page 132
SSG5000X Series Programming Guide 3.4.16.2.39 ZigBee Trigger Delay Samples ([:SOURce]:RADio:ZIGBee:TRIGger:DELay:SAMPle) SYNTAX [:SOURce]:RADio:ZIGBee:TRIGger:DELay:SAMPle <samples> [:SOURce]:RADio:ZIGBee:TRIGger:DELay:SAMPle? DESCRIPTION This command sets/queries the trigger delay samples of ZigBee external trigger. DATA TYPE Integer RANGE 0 ~ 100,000,000 RETURN Integer DEFAULT VALUE IQ > IoT > Protocol Type(ZigBee) > Trigger > Trigger Source(Ext) >...
Page 133
SSG5000X Series Programming Guide EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > Save Waveform EXAMPLE :RADio:ZWAVe:SAVE “test_zwave.arb” Z-Wave State ([:SOURce]:RADio:ZWAVe:STATe) 3.4.16.3.2 SYNTAX [:SOURce]:RADio:ZWAVe:STATe ON|OFF|1|0 [:SOURce]:RADio:ZWAVe:STATe? DESCRIPTION This command sets/queries the switch status of Z-Wave modulation. DATA TYPE Boolean RANGE...
Page 134
SSG5000X Series Programming Guide RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > Basic > Number of Frames EXAMPLE :RADio:ZWAVe:FRAMe:NUMBer 2 :RADio:ZWAVe:FRAMe:NUMBer? Return: Total Sample Points ([:SOURce]:RADio:ZWAVe:TOTal:SAMPle:POINts?) 3.4.16.3.5 SYNTAX [:SOURce]:RADio:ZWAVe:TOTal:SAMPle:POINts? DESCRIPTION This command queries the total number of sampling points of the Z- Wave modulated wave.
Page 135
SSG5000X Series Programming Guide EXAMPLE :RADio:ZWAVe:RATE:TYPE R2 :RADio:ZWAVe:RATE:TYPE? Return: R2\n Modulation Type ([:SOURce]:RADio:ZWAVe:MODUlation:TYPE) 3.4.16.3.8 SYNTAX [:SOURce]:RADio:ZWAVe:MODUlation:TYPE FSK | GFSK [:SOURce]:RADio:ZWAVe:MODUlation:TYPE? DESCRIPTION This command sets/queries the modulation type of Z-Wave modulation. DATA TYPE Enumeration RANGE FSK | GFSK RETURN Enumeration DEFAULT VALUE R1/R2 is FSK and R3 is GFSK.
Page 136
SSG5000X Series Programming Guide DATA TYPE Integer RANGE 1 ~ 10 RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > Basic > Ramp Symbols EXAMPLE :RADio:ZWAVe:RAMP:SYMBol 6 :RADio:ZWAVe:RAMP:SYMBol? Return: 3.4.16.3.11 Ramp Up/Down Symbol ([:SOURce]:RADio:ZWAVe:RAMP:MODE) SYNTAX [:SOURce]:RADio:ZWAVe:RAMP:MODE...
Page 137
SSG5000X Series Programming Guide [:SOURce]:RADio:ZWAVe:PREAmble:LENgth? DESCRIPTION This command sets/gets the preamble length of Z-Wave PPDU. DATA TYPE Integer, unit: octets RANGE 10 ~ 100 RETURN Integer, unit: octets DEFAULT VALUE IQ > IoT > Protocol Type(Z-Wave) > PPDU Settings > Preamble...
Page 138
SSG5000X Series Programming Guide EXAMPLE :RADio:ZWAVe:MAC:HEADer:STATe OFF :RADio:ZWAVe:MAC:HEADer:STATe? Return: 3.4.16.3.16 MAC Header ([:SOURce]:RADio:ZWAVe:MAC:HEADer) SYNTAX [:SOURce]:RADio:ZWAVe:MAC:HEADer <"header"> [:SOURce]:RADio:ZWAVe:MAC:HEADer? DESCRIPTION This command sets/queries the MAC Header field of Z-Wave frame. DATA TYPE String RANGE None RETURN String DEFAULT VALUE 12345678,01,3412,2A,01,01 EQUIVALENT MENU IQ >...
Page 139
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE PN9 | PN15 | USER RETURN Enumeration DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > PPDU Settings > Data Type EXAMPLE :RADio:ZWAVe:DATA:TYPE PN15 :RADio:ZWAVe:DATA:TYPE? Return: PN15\n 3.4.16.3.19 Seed ([:SOURce]:RADio:ZWAVe:PN:SEED) SYNTAX [:SOURce]:RADio:ZWAVe:PN:SEED <val>...
Page 140
SSG5000X Series Programming Guide DATA TYPE Enumeration RANGE PN9 | PN15 | USER RETURN Binary string DEFAULT VALUE None IQ > IoT > Protocol Type(Z-Wave) > PPDU Settings > Data Type EQUIVALENT MENU (User) > User Data EXAMPLE :RADio:ZIGBee:PN:DATA? PN9...
Page 141
SSG5000X Series Programming Guide [:SOURce]:RADio:ZWAVe:DATA:LENgth? DESCRIPTION This command sets/queries the data length of the Z-Wave PPDU Payload field. DATA TYPE Integer, unit: octets RANGE Depends on the maximum length of the PSDU and MSDU fields RETURN Integer, unit: octets DEFAULT VALUE EQUIVALENT MENU IQ >...
Page 142
SSG5000X Series Programming Guide EXAMPLE :RADio:ZWAVe:FCS:STATe 0 :RADio:ZWAVe:FCS:STATe? Return: 3.4.16.3.27 End of Frame Delimiter ([:SOURce]:RADio:ZWAVe:EOF:STATe) SYNTAX [:SOURce]:RADio:ZWAVe:EOF:STATe ON|OFF|1|0 [:SOURce]:RADio:ZWAVe:EOF:STATe? DESCRIPTION Enable or disable EHR in PPDU. For data rates R2 and R3, this setting is off and read-only. DATA TYPE...
Page 143
SSG5000X Series Programming Guide RANGE -200000 ~ 200000 RETURN Float, unit: Hz DEFAULT VALUE IQ > IoT > Protocol Type(Z-Wave) > Impairments > Frequency EQUIVALENT MENU Offset EXAMPLE :RADio:ZWAVe:FREQ:OFFSet 1000 :RADio:ZWAVe:FREQ:OFFSet? Return: 1000\n 3.4.16.3.30 Frequency Deviation Scaling ([:SOURce]:RADio:ZWAVe:FREQ:DEVIation:SCALe) SYNTAX [:SOURce]:RADio:ZWAVe:FREQ:DEVIation:SCALe <val>...
Page 144
SSG5000X Series Programming Guide 3.4.16.3.32 Marker 1 Source ([:SOURce]:RADio:ZWAVe:MARKer:ONE:SOURce) SYNTAX [:SOURce]:RADio:ZWAVe:MARKer:ONE:SOURce WAVeform| FRAMe [:SOURce]:RADio:ZWAVe:MARKer:ONE:SOURce? DESCRIPTION This command sets/queries the source of Mark 1 of the Z-Wave modulated wave. Waveform Start - Indicates the start of the waveform, Frame Start - Indicates the beginning of each frame in the waveform.
Page 145
SSG5000X Series Programming Guide RETURN Enumeration DEFAULT VALUE CONTinous EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > Trigger > Trigger Type EXAMPLE :RADio:ZWAVe:TRIGger:TYPE SINGle :RADio:ZWAVe:TRIGger:TYPE? Return: SINGle\n 3.4.16.3.35 Z-Wave Trigger Continuous Mode ([:SOURce]:RADio:ZWAVe:TRIGger:CONTinous) SYNTAX [:SOURce]:RADio:ZWAVe:TRIGger:CONTinous FREErun | RUNIgnored [:SOURce]:RADio:ZWAVe:TRIGger:CONTinous?
Page 146
SSG5000X Series Programming Guide 3.4.16.3.37 Z-Wave Trigger Source ([:SOURce]:RADio:ZWAVe:TRIGger:SOURce) SYNTAX [:SOURce]:RADio:ZWAVe:TRIGger:SOURce KEY| BUS| EXT [:SOURce]:RADio:ZWAVe:TRIGger:SOURce? DESCRIPTION This command sets/queries the trigger source of Z-Wave trigger. DATA TYPE Enumeration RANGE KEY| BUS| EXT RETURN Enumeration DEFAULT VALUE EQUIVALENT MENU IQ > IoT > Protocol Type(Z-Wave) > Trigger > Trigger Source...
Page 147
SSG5000X Series Programming Guide IQ > IoT > Protocol Type(Z-Wave) > Trigger > Trigger Source(Ext) > EQUIVALENT MENU Delay Samples EXAMPLE :RADio:ZWAVe:TRIGger:DELay:SAMPle 1000 :RADio:ZWAVe:TRIGger:DELay:SAMPle? Return: 1000\n 3.4.16.3.40 Z-Wave Bus Trigger ([:SOURce]:RADio:ZWAVe:TRG) SYNTAX [:SOURce]:RADio:ZWAVe:TRG DESCRIPTION This command sends a trigger signal of the Z-Wave bus trigger source.
Page 148
SSG5000X Series Programming Guide Tone Number ([:SOURce]:RADio:MTONe:ARB:SETup:TABLe:NTONes) 3.4.17.2 SYNTAX [:SOURce]:RADio:MTONe:ARB:SETup:TABLe:NTONes <num> [:SOURce]:RADio:MTONe:ARB:SETup:TABLe:NTONes? DESCRIPTION This command sets/queries the number of tones in the multi-tone waveform. DATA TYPE Integer RANGE 1 ~ 20 RETURN Integer DEFAULT VALUE EQUIVALENT MENU IQ > Multitone > Tone Number...
Page 149
SSG5000X Series Programming Guide EXAMPLE :RADio:MTONe:ARB:SCLock:RATE 4 MHz :RADio:MTONe:ARB:SCLock:RATE? Return: 4000000\n Freq Spacing ([:SOURce]:RADio:MTONe:ARB:SETup:TABLe:FSPacing) 3.4.17.5 SYNTAX [:SOURce]:RADio:MTONe:ARB:SETup:TABLe:FSPacing <val> [:SOURce]:RADio:MTONe:ARB:SETup:TABLe:FSPacing? DESCRIPTION This command sets/queries the frequency interval between total tones. DATA TYPE Float, unit: Hz, kHz, MHz or GHz, default is Hz RANGE Tone Number * Sample Rate /4096 ~ min(120MHz, Sample Rate /1.28)
Page 150
SSG5000X Series Programming Guide AWGN 3.4.18 AWGN State ([:SOURce]:RADio:AWGN:RT[:STATe]) 3.4.18.1 SYNTAX [:SOURce]:RADio:AWGN:RT[:STATe] ON|OFF|1|0 [:SOURce]:RADio:AWGN:RT[:STATe]? DESCRIPTION This command sets/queries the switch status of AWGN modulation. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU IQ > AWGN > AWGN State...
Page 151
SSG5000X Series Programming Guide SENSe Commands Power Sensor 3.5.1 Sensor Info (:SENSe[:POWer]:TYPE?) 3.5.1.1 SYNTAX :SENSe[:POWer]:TYPE? DESCRIPTION This command queries the model of the power sensor connected to the signal generator. RETURN String DEFAULT VALUE None EQUIVALENT MENU HOME > POWER SENSOR > Sensor Info...
Page 152
SSG5000X Series Programming Guide Statistics State (:SENSe[:POWer]:STATistics:STATe) 3.5.1.4 SYNTAX :SENSe[:POWer]:STATistics:STATe ON|OFF|1|0 :SENSe[:POWer]:STATistics:STATe? DESCRIPTION This command sets/queries the measurement statistics status of the power sensor. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU HOME > POWER SENSOR > Statistics...
Page 153
SSG5000X Series Programming Guide Statistics Min Value (:SENSe[:POWer]:STATistics:MIN?) 3.5.1.7 SYNTAX :SENSe[:POWer]:STATistics:MIN? DESCRIPTION This command queries the minimum value of the power sensor measurement statistics. RETURN Float, unit: dBm. DEFAULT VALUE None EQUIVALENT MENU HOME > POWER SENSOR > Statistics > min...
Page 154
SSG5000X Series Programming Guide Level Control (:SENSe[:POWer]:LEV:CTL:STATe) 3.5.1.11 SYNTAX :SENSe[:POWer]:LEV:CTL:STATe ON|OFF|1|0 :SENSe[:POWer]:LEV:CTL:STATe? DESCRIPTION This command sets/queries the level control state of the power sensor. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT SCPI [:SOURce]:POWer:SPC:STATe ON|OFF|1|0 [:SOURce]:POWer:SPC:STATe? EQUIVALENT MENU HOME > POWER SENSOR > Level Control...
Page 155
SSG5000X Series Programming Guide RETURN Float, unit: dBm DEFAULT VALUE EQUIVALENT SCPI [:SOURce]:POWer:LIMit <power> [:SOURce]:POWer:LIMit? EQUIVALENT MENU HOME > POWER SENSOR > Level Control > Limit Level EXAMPLE SENSe:LIMit 2 SENSe:LIMit? Return: Catch Range (:SENSe[:POWer]:SPC:CRANge) 3.5.1.14 SYNTAX :SENSe[:POWer]:SPC:CRANge <power> :SENSe[:POWer]:SPC:CRANge?
Page 156
SSG5000X Series Programming Guide Zeroing (:SENSe[:POWer]:ZERO) 3.5.1.16 SYNTAX :SENSe[:POWer]:ZERO DESCRIPTION This command performs a zeroing operation on the power sensor. EQUIVALENT MENU HOME > POWER SENSOR > Click to perform zeroing EXAMPLE :SENSe:ZERO Frequency Type (:SENSe[:POWer]:SOURce) 3.5.1.17 SYNTAX :SENSe[:POWer]:SOURce RF|USER...
Page 157
SSG5000X Series Programming Guide DESCRIPTION This command sets/queries the level offset state of the power sensor. DATA TYPE Boolean RANGE ON|OFF|1|0 RETURN DEFAULT VALUE EQUIVALENT MENU HOME > POWER SENSOR > Level Offset EXAMPLE SENSe:OFFSet:STATe ON SENSe:OFFSet:STATe? Return: Level Offset (:SENSe[:POWer]:OFFSet) 3.5.1.20...
Page 158
SSG5000X Series Programming Guide Average Times (:SENSe[:POWer]:FILTer:LENgth) 3.5.1.22 SYNTAX :SENSe[:POWer]:FILTer:LENgth <length> :SENSe[:POWer]:FILTer:LENgth? DESCRIPTION This command sets/queries the average number of measurements of the power sensor. DATA TYPE Integer RANGE 1 ~ 65536 RETURN Integer DEFAULT VALUE None EQUIVALENT MENU HOME > POWER SENSOR > Averaging Count...
Page 159
SSG5000X Series Programming Guide MEMory Commands 3.6.1 Save Segment (:MEMory:COPY[:NAME]) 3.6.1.1 SYNTAX :MEMory:COPY[:NAME] <“segment”>,<“file_name”> DESCRIPTION Copy a waveform segment file from volatile memory to non-volatile memory segment: string. Name of the segment to be saved. file_name: string. This variable names the destination file and the DATA TYPE directory path.
Page 161
SSG5000X Series Programming Guide Programming Examples This chapter provides some examples for programmers. In these examples you can see how to use VISA or Sockets and the above SCPI commands to control a signal generator. By following these examples, you can develop more applications.
Page 162
SSG5000X Series Programming Guide Set the include directory of library files. The default installation path of NI-VISA library files is “C:\Program Files\IVI Foundation\VISA\Win64\Lib_x64\msc”. Fill in the library file installation path in Project --- Properties --- Linker --- General --- Additional library directory, as shown below: Set up library files.
Page 163
SSG5000X Series Programming Guide Finally, reference the header file in the project .cpp file: #include <visa.h> Add code (1) USBTMC access code Write a function Usbtmc_test: Usbtmc_test() /* This code demonstrates sending synchronous read & write commands */ /* to an USB Test & Measurement Class (USBTMC) instrument using */ /* NI-VISA /* The example writes the "*IDN?\n"...
Page 164
SSG5000X Series Programming Guide unsigned char buffer[100]; /** First we must call viOpenDefaultRM to get the manager * handle. We will store this handle in defaultRM.*/ status = viOpenDefaultRM (&defaultRM); (status<VI_SUCCESS) printf ("Could not open a session to the VISA Resource Manager!\n");...
Page 165
SSG5000X Series Programming Guide * asking for the device's identification. */ char * cmmand ="*IDN?\n"; status = viPrintf (instr, cmmand); (status<VI_SUCCESS) printf ("Error writing to the device %d.\n", i+1); status = viClose (instr); continue; /** Now we will attempt to read back a response from the device to * the identification query that was sent.
Page 166
SSG5000X Series Programming Guide (2) TCP/IP access code Write a function TCP_IP_Test: int TCP_IP_Test(char *pIP) char outputBuffer[VI_FIND_BUFLEN]; ViSession defaultRM, instr; ViStatus status; /* First we will need to open the default resource manager. */ status = viOpenDefaultRM (&defaultRM); (status<VI_SUCCESS) printf("Could not open a session to the VISA Resource Manager!\n");...
Page 167
SSG5000X Series Programming Guide fflush(stdin); getchar(); return int _tmain(int argc, _TCHAR* argv[]) printf("Please input IP address:"); char ip[256]; fflush(stdin); gets(ip); TCP_IP_Test(ip); return The running result: int.siglent.com...
Page 168
SSG5000X Series Programming Guide VB Example 4.1.2 System environment: Windows 7 Programming software: Microsoft Visual Basic 6.0 Example content: Use NI-VISA to access and control the device through USBTMC or TCP/IP and perform read and write operations. Please follow below steps to complete the example: Open Visual Basic and build a standard application program project (standard EXE).
Page 169
SSG5000X Series Programming Guide Const MAX_CNT = 200 defaultRM As Long instrsesn As Long numlnstrs As Long findList As Long retCount As Long status As Long instrResourceString As String * VI_FIND_BUFLEN Buffer As String * MAX_CNT As Integer ' First we must call viOpenDefaultRM to get the manager ' handle.
Page 170
SSG5000X Series Programming Guide status = viOpen(defaultRM, instrResourceString, VI_NULL, VI_NULL, instrsesn) (status < VI_SUCCESS) Then resultTxt.Text = "Cannot open a session to the device " + CStr(i + 1) GoTo NextFind End If ' At this point we now have a session open to the USB TMC instrument.
Page 171
SSG5000X Series Programming Guide count As Long ' First we will need to open the default resource manager. status = viOpenDefaultRM(defaultRM) (status < VI_SUCCESS) Then resultTxt.Text = "Could not open a session to the VISA Resource Manager!" TCP_IP_Test = status...
Page 172
SSG5000X Series Programming Guide End Sub Private Sub usbBtn_Click() stat As Long stat = Usbtmc_test (stat < VI_SUCCESS) Then resultTxt.Text = Hex(stat) End If End Sub The running result: int.siglent.com...
Page 173
SSG5000X Series Programming Guide MATLAB Example 4.1.3 System environment: Windows 7 Programming software: MATLAB R2013a Example content: Use NI-VISA to access and control the device through USBTMC or TCP/IP and perform read and write operations. Please follow below steps to complete the example: Open MATLAB and modify the current directory.
Page 174
SSG5000X Series Programming Guide (2) TCP/IP access code Write a function TCP_IP_Test: function TCP_IP_test() % This code demonstrates sending synchronous read & write commands % to an TCP/IP instrument using NI-VISA %Create a VISA-TCPIP object connected to an instrument %configured with IP address.
Page 175
SSG5000X Series Programming Guide LabVIEW Example 4.1.4 System environment: Windows 7 Programming software: LabVIEW 2011 Example content: Use NI-VISA to access and control the device through USBTMC or TCP/IP and perform read and write operations. Please follow below steps to complete the example: Open LabVIEW and create a VI file.
Page 176
SSG5000X Series Programming Guide In this example, the VI opens a VISA session to the USBTMC device, writes a command to the device, and then reads back the response. In this example, the specific command sent is a device ID query. Please check the device command set with your device manufacturer. After all communication is complete, the VI closes the VISA session.
Page 177
SSG5000X Series Programming Guide Socket Examples The Windows operating system itself supports Sockets communication, and this communication method is also relatively simple. It should be noted that "\n" (newline character) needs to be added to the end of the SCPI command string.
Page 178
SSG5000X Series Programming Guide except socket.error: input('Failed to connect to ip %s!\nPress "Enter" to exit: ' % remote_ip) s.close() sys.exit() return s def SocketQuery(Sock, cmd): try : #Send cmd string Sock.sendall(cmd) time.sleep(1) except socket.error: #Send failed input('Send failed!\nPress "Enter" to exit: ') SocketClose(Sock) sys.exit()
Page 179
SSG5000X Series Programming Guide The running result: int.siglent.com...
Page 180
DC power supplies, electronic loads and other general purpose test instrumentation. Since its first oscilloscope was launched in 2005, SIGLENT has become the fastest growing manufacturer of digital oscilloscopes. We firmly believe that today SIGLENT is the best value in electronic test & measurement. Headquarters: SIGLENT Technologies Co., Ltd...
Need help?
Do you have a question about the SSG5000X Series and is the answer not in the manual?
Questions and answers