ProgrammingGuide PG0703P E02A
ProgrammingGuide PG0703P E02A
ProgrammingGuide PG0703P E02A
Spectrum Analyzer
SSA3000X-R
Real time spectrum Analyzer
SVA1000X
Spectrum Analyzer
Programming Guide
PG0703P_E02A
Programming Guide I
SIGLENT
Contents
This chapter introduces how to build communication between the spectrum analyzer and a controller
computer with these interfaces.
1.1.1 USB: Connecting the Analyzer via the USB Device port
Refer to the following steps to finish the connection via USB-Device:
1. Install NI-VISA on your PC for USB-TMC driver.
2. Connect the analyzer USB Device port to a PC with a USB A-B cable.
Programming Guide 1
SIGLENT
1.1.3 GPIB: Connecting the Analyzer via the USB Host port
Refer to the following steps to finish the connection via USB:
1. Install NI-VISA on your PC for GPIB driver.
2. Connect the analyzer USB Host port to a PC’s GPIB card port, with SIGLENT USB-GPIB adaptor.
2 Programming Guide
SIGLENT
b.Click Unzip, the installation process will automatically launch after unzipping files. If your computer
needs to install .NET Framework 4, its setup process will auto start.
c.The NI-VISA installing dialog is shown above. Click Next to start the installation process.
SIGLENT
Set the install path, default path is “C:\Program Files\National Instruments\”, you can change it. Click
Next, dialog shown as above.
d.Click Next twice, in the License Agreement dialog, select the “ I accept the above 2 License
Agreement(s).” ,and click Next, dialog shown as below:
4 Programming Guide
SIGLENT
3. Click “Open VISA Test Panel” option button, then the following interface will appear.
4.Click the “Input/Output” option button and click the “Query” option button in order to view the
operation information.
NOTE: The *IDN? command (known as the Identification Query) returns the instrument manufacturer,
instrument model, serial number, and other identification information.
6 Programming Guide
SIGLENT
3.Select Manual Entry of LAN instrument, select Next, and enter the IP address as shown. Click Finish to
establish the connection:
NOTE: Leave the LAN Device Name BLANK or the connection will fail.
4. After a brief scan, the connection should be shown under Network Devices:
SIGLENT
6.Click “Input/Output” option button and click “Query” option button. If everything is OK, you will see
the Read operation information returned as shown below.
For the further description of the software, please refer to the online help embedded in this software.
8 Programming Guide
SIGLENT
*Web browser with HTML5 supported like Google Chrome or Firefox are recommended.
SIGLENT
2.SCPI Overview
2.Square Brackets [ ]
The content in the square brackets can be ignored. When the parameter is ignored, the instrument will set
the parameter to its default. For example,
In the “[:SENSe]:POWer[:RF]:ATTenuation?” command, sending any of the four commands below can
generate the same effect:
:POWer:ATTenuation?
:POWer:RF:ATTenuation?
:SENSe:POWer:ATTenuation?
:SENSe:POWer:RF:ATTenuation?
3.Vertical Bar |
The vertical bar is used to separate multiple parameters and when sending the command, you can choose
one of the parameters. For example,
In the “[:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1” command, the parameters available are
“OFF”, “ON”, “0” or “1”.
10 Programming Guide
SIGLENT
4.Braces { }
The parameters in the braces are optional which can be ignored or set for one or more times. For example:
:CALCulate:LLINe[1]|2:DATA <x-axis>,<ampl>{,<x-axis>, <ampl>}, in the command, the {,<x-axis>,
<ampl>} parameters can be ignored or set for one or more times.
1. Boolean
The parameters in the commands could be “OFF”, “ON”, “0” or “1”. For example:
[:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1
2.Enumeration
The parameter could be any of the values listed. For example:
[:SENSe]:AVERage:TYPE LOGPower|POWer|VOLTage
The parameter is “OGPower”, “POWer” or “VOLTage”.
3.String
The parameter should be the combinations of ASCII characters. For example:
:SYSTem:COMMunicate:LAN:IPADdress <“xxx.xxx.xxx.xxx”>
The parameter can be set as “192.168.1.12” string.
4.Integer
Except other notes, the parameter can be any integer within the effective value range. For example:
[:SENSe]:DEMod:VOLume <value>
The parameter < value > can be set to any integer between 0 and 10.
5.Float
The parameter could be any value within the effective value range according to the accuracy requirement
(the default accuracy contains up to 9 digits after the decimal points). For example:
:CALCulate:BANDwidth:NDB <value>
The parameter < value > can be set to any real number between -100 and 100.
6.Discrete
The parameter could only be one of the specified values and these values are discontinuous. For example:
[:SENSe]:BWIDth:VIDeo:RATio <number>
SIGLENT
The parameter <number> could only be one of 0.001, 0.003, 0.01, 0.03, 0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0,
300.0, 1000.0.
12 Programming Guide
SIGLENT
Command *IDN?
Format
Instruction Returns an instrument identification information string. The string will contain the
manufacturer, model number, serial number, software number, FPGA number and CPLD
number.
Menu None
Example *IDN?
Return: Siglent,SVA1015,1234567890,100.01.01.06.01
Command *RST
Format
Instruction This command presets the instrument to a factory defined condition that is appropriate for
remote programming operation.
SIGLENT
Menu None
Example *RST
Command *CLS
Format
Instruction Clears the status byte register. It does this by emptying the error queue and clearing all bits
in all of the event registers. The status byte register summarizes the states of the other
registers. It is also responsible for generating service requests.
Menu None
Example *CLS
Command *ESR?
Format
Instruction Queries and clears the standard event status event register. (This is a destructive read.) The
value returned reflects the current state (0/1) of all the bits in the register.
Menu None
Example *ESR?
Command *OPC
Format *OPC?
Instruction Set bit 0 in the standard event status register to “1” when all pending operations have
finished.
The query stops any new commands from being processed until the current processing is
complete. Then it returns a “1”, and the program continues. This query can be used to
synchronize events of other instruments on the external bus.
Returns a “1” if the last processing is complete. Use this query when there’s a need to
monitor the command execution status, such as a sweep execution.
Menu None
Example *OPC?
14 Programming Guide
SIGLENT
Instruction This command enables the desired bits of the service request enable register.
The query returns the value of the register, indicating which bits are currently enabled. The
default value is 255.
Menu None
Example *SRE 1
Command *STB?
Format
Instruction This query is used by some instruments for a self test.
Menu None
Example *STB?
Command *WAI
Format
Instruction This command causes the instrument to wait until all pending commands are completed
before executing any additional commands.
There is no query form to the command.
Menu None
Example *WAI
Command *TRG
Format
Instruction Restarts the current sweep.
Menu None
Example *TRG
Command *TST?
Format
Instruction This query is used by some instruments for a self test.
Menu None
Example *TST?
:SYSTem:COMMunicate:LAN:SMASk
:SYSTem:COMMunicate:LAN:TYPE
:SYSTem:LANGuage
:SYSTem:PON:TYPE
:SYSTem:RESTart
:SYSTem:PRESet
:SYSTem:PRESet:TYPE
:SYSTem:PRESet:USER[1]|2|3|4|5|6|7:SAVE
:SYSTem:PRESet:USER[1]|2|3|4|5|6|7:LOAD
:SYSTem:FDEFault
:SYSTem:LKEY
:SYSTem:OPTions?
:SYSTem:POWer:OFF
:SYSTem:CONFigure:SYSTem?
16 Programming Guide
SIGLENT
Default None
Menu System > Interface > LAN > Gateway
Default None
Menu System > Interface > LAN > IP Config
Example :SYSTem:COMMunicate:LAN:TYPE DHCP
:SYSTem:COMMunicate:LAN:TYPE?
18 Programming Guide
SIGLENT
Command :SYSTem:PRESet
Format
Instruction Use this command to preset the instrument. The preset type is based on the Setting of
Preset Type: DFT, User or Last.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :SYSTem:PRESet
Command :SYSTem:RESTart
Format
Instruction Use this command to restart the instrument (part of machine may not support).
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :SYSTem:RESTart
Command :SYSTem:PRESet:USER[1]|2|3|4|5|6|7:SAVE
Format
Instruction Saves current setting to user config.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command :SYSTem:PRESet:USER[1]|2|3|4|5|6|7:LOAD
Format
Instruction Loads user config.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu System > Pwr On/Preset > User Config
Example :SYSTem:PRESet:USER6:LOAD
Command :SYSTem:FDEFault
Format
Instruction Sets both the measure and setting parameters to factory preset parameters.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu System > Pwr On/Preset > Factory Reset
Example :SYSTem:FDEFault
20 Programming Guide
SIGLENT
Command :SYSTem:OPTions?
Format
Instruction This command returns a list of the options that are installed.
Parameter None
Type
Parameter None
Range
Return Meas|EMI|TG|DMA|DTF|VNA
Default None
Menu System > System Info
Example :SYSTem:OPTions?
Command :SYSTem:POWer:OFF
Format
Instruction Uses this command to turn off the instrument.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :SYSTem:POWer:OFF
Command :SYSTem:CONFigure:SYSTem?
Format
Instruction Uses this command to query the system message of the instrument.
Parameter None
Type
Parameter None
Range
Return String
Default None
Menu System > System Info
SIGLENT
Example :SYSTem:CONFigure:SYSTem?
Default None
Menu File > Save
Example :MMEMory:STORe STA,”ABC.sta”
22 Programming Guide
SIGLENT
Menu mode
Example :INSTrument DTF
24 Programming Guide
SIGLENT
4.Spectrum Analyzer
4.1 Frequency Subsection .......................................................... 错误!未定义书签。
4.2 Amplitude Subsection .......................................................... 错误!未定义书签。
4.3 Sweep Subsection ................................................................. 错误!未定义书签。
4.4 Trigger Subsystem ............................................................... 错误!未定义书签。
4.5 Bandwidth Subsection ......................................................... 错误!未定义书签。
4.6 Trace Subsection .................................................................. 错误!未定义书签。
4.7 Marker Subsection............................................................... 错误!未定义书签。
4.8 Limit Subsection ................................................................. 错误!未定义书签。
4.9 Measurement Subsystem..................................................... 错误!未定义书签。
4.10 TG Subsystem ...................................................................... 错误!未定义书签。
4.11 Demod Subsystem ................................................................ 错误!未定义书签。
26 Programming Guide
SIGLENT
Command [:SENSe]:FREQuency:CENTer:SET:STEP
Format
Instruction Sets step value equal to center frequency.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Frequency > CF→Step
Example :FREQuency:CENTer:SET:STEP
Command [:SENSe]:FREQuency:SPAN:FULL
Format
Instruction Sets the frequency span to full scale.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command [:SENSe]:FREQuency:SPAN:ZERO
Format
Instruction Sets the frequency span to zero span.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span > Zero Span
Example :FREQuency:SPAN:ZERO
Command [:SENSe]:FREQuency:SPAN:PREVious
Format
Instruction Sets the frequency span to the previous span setting.
28 Programming Guide
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span > Last Span
Example :FREQuency:SPAN:PREVious
Command [:SENSe]:FREQuency:SPAN:HALF
Format
Instruction Sets the frequency span to half of the current span setting.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span > Zoom In
Example :FREQuency:SPAN:HALF
Command [:SENSe]:FREQuency:SPAN:DOUBle
Format
Instruction Sets the frequency span to double the current span setting.
Parameter None
Type
Parameter None
Range
Return None
Default None
:UNIT:POWer
:DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing
:DISPlay:WINDow:TRACe:Y[:SCALe]:PDIVision
[:SENSe]:CORRection:OFF
[:SENSe]:CORRection:CSET:ALL[:STATe]
[:SENSe]:CORRection:CSET[1]|2|3|4[:STATe]
[:SENSe]:CORRection:CSET[1]|2|3|4:ADD
[:SENSe]:CORRection:CSET[1]|2|3|4:DELete
[:SENSe]:CORRection:CSET[1]|2|3|4:ALL:DELete
[:SENSe]:CORRection:CSET[1]|2|3|4:DATA
[:SENSe]:CORRection:IMPedance[:INPut][:MAGNitude]
30 Programming Guide
SIGLENT
Default OFF
Menu Amplitude > Preamp
Example :POWer:GAIN ON
Example :DISPlay:WINDow:TRACe:Y:SCALe:RLEVel:OFFSet 2
Parameter Enumeration
Type
Parameter DBM|DBMV|DBUV|DBUA|V|W,
Range
Return Enumeration
Default DBM
Menu Amplitude > Units
Example :UNIT:POWer DBMV
Example :DISPlay:WINDow:TRACe:Y:PDIVision 10 dB
Command [:SENSe]:CORRection:OFF
Format
Instruction Turns off the amplitude correction function off and all of the correction sets are off.
Parameter None
Type
Parameter None
Range
32 Programming Guide
SIGLENT
Return None
Default None
Menu None
Example :SENSe:CORRection:OFF
Command [:SENSe]:CORRection:CSET[1]|2|3|4[:STATe]
Format [:SENSe]:CORRection:CSET[1]|2|3|4[:STATe]?
Instruction Turns the amplitude correction function on/off.
Gets the amplitude correction function state.
Parameter None
Type
Parameter None
Range
Return 0|1
Default OFF
Menu Amplitude > Corrections > Correction1|2|3|4
Example :CORRection:CSET2:OFF
Default None
Menu Amplitude > Corrections > CorrectionX > Del Point
Example :CORRection:CSET2: DELete 2
Command [:SENSe]:CORRection:CSET[1]|2|3|4:ALL:DELete
Format
Instruction Deletes All Correction Points.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Amplitude > Corrections > CorrectionX > Del All
Example :CORRection:CSET2: ALL:DELete
34 Programming Guide
SIGLENT
Default OHM50
Menu Amplitude > Corrections
Example CORRection:IMPedance?
Default SWEep
Menu Sweep
Example :SWEep:TIME 5s
36 Programming Guide
SIGLENT
Parameter Integer
Type
Parameter 1 ~ 99999
Range
Return Integer
Default 1
Menu Sweep > Numbers
Example :SWEep:COUNt 10
Command :INITiate[:IMMediate]
Format
Instruction Restarts the current sweep.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:IMMediate
Command :INITiate:RESTart
Format
Instruction Restarts the current sweep.
:INITiate:RESTart and :INITiate:IMMediate perform exactly the same function.
Parameter None
Type
Parameter None
Range
Return None
SIGLENT
Default None
Menu
Example :INITiate:RESTart
Command :INITiate:Pause
Format
Instruction Pause current sweeep(pause at the end of the current sweep).
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:Pause
Command :INITiate:RESume
Format
Instruction Resumes paused sweep.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:RES
38 Programming Guide
SIGLENT
Command ABORt
Format
Instruction This command is used to stop the current measurement. It aborts the currentmeasurement
as quickly as possible, resets the sweep and trigger systems, and puts the measurement into
an "idle" state.
If the analyzer is set for Continuous measurement, it sets up the measurement and initiates
a new data measurement sequence with a new data acquisition (sweep) taken once the
trigger condition is met.
If the analyzer is set for Single measurement, it remains in the "idle" state until
an :INIT:IMM command is received.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Default ABORt
Default POSitive
Menu Trigger > External Trigger
Example :TRIGger:RFBurst:SLOPe POSitive
40 Programming Guide
SIGLENT
Default 1 MHz
Menu BW > VBW
Return 0|1
Default ON
Menu BW > VBW
Example BWIDth:VIDeo:AUTO OFF
Command [:SENSe]:BWIDth:VIDeo:RATio:CONfig?
Format
Instruction This command turns on/off auto video to resolution bandwidth ratio.
Parameter None
Type
Parameter None
Range
Return 0|1
Default 1
Menu None
Example :BWIDth:VIDeo:RATio:CONfig?
42 Programming Guide
SIGLENT
:TRACe[1]|2|3|4[:DATA]?
Parameter Enumeration
Type
Parameter 1|2|3|4 or A|B|C|D or TRACE1| TRACE2| TRACE3| TRACE4
Range
Return String
Default 1
Menu None
Example :TRACe:DATA? 1
Menu None
Example :FORMat ASCii
Command :CALCulate[:SELected]:MATH:FUNCtion
Format :CALCulate[:SELected]:MATH:FUNCtion?
Instruction Sets trace math function.
Gets trace data function.
Parameter Enumeration
Type
Parameter OFF: Trace Math Off
Range PDIF : Power Diff
PSUM : Power Sum
LOFF : Log Offset
LDIF : Log Diff
Return Enumeration
Default OFF
Menu Trace > Math
Example :CALCulate[:SELected]:MATH:FUNCtion?
44 Programming Guide
SIGLENT
Type
Parameter A|B|C|D or TRACE1|TRACE2|TRACE3|TRACE4
Range
Return Enumeration
Default A
Default A
Menu Trace > Math > Input Y
Example :TRACe:MATH:Y A
Default 0.00 dB
Menu Trace > Math
Example :TRACe:MATH:OFFSet 7
Command [:SENSe]:FREQuency:TUNE:IMMediate
Format
Instruction Auto tune the spectrum analyzer parameter to display the main signal.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command [:SENSe]:DETector:TRACe[1]|2|3|4[:FUNCtion]
Format NEGative|POSitive|SAMPle|AVERage|NORMAL|QUASi
[:SENSe]:DETector:TRACe[1]|2|3|4[:FUNCtion]?
Instruction Specifies the detection mode. For each trace interval (bucket), average detection displays
the average of all the samples within the interval.
Gets the detection mode.
Parameter Enumeration
Type
Parameter NEGative: Negative peak detection displays the lowest sample taken during the interval
Range being displayed.
POSitive: Positive peak detection displays the highest sample taken during the interval
being displayed.
SAMPle: Sample detection displays the sample taken during the interval being
displayed, and is used primarily to display noise or noise-like signals.
In sample mode, the instantaneous signal value at the present display point is placed into
memory. This detection should not be used to make the most accurate amplitude
measurement of non noise-like signals.
AVERage: Average detection is used when measuring the average value of the
amplitude across each trace interval (bucket). The averaging method used by the average
detector is set to either video or power as appropriate when the average type is auto
coupled.
NORMAL: Normal detection selects the maximum and minimum video signal values
alternately. When selecting Normal detection,”Norm”appears in the upper-left corner.
QUASi: Quasipeak detection is a form of detection where a signal level is weighted
based on the repetition frequency of the spectral components making up the signal. That
is to say, the result of a quasi-peak measurement depends on the repetition rate of the
signal.
Return Enumeration
Default POSitive
Menu Detect
Example :DETector:TRACe QUAS
46 Programming Guide
SIGLENT
Default LOGPower
Menu BW > Avg Type
Example AVERage:TYPE VOLTage
Command [:SENSe]:AVERage:TRACe[1]|2|3|4?
Format
Instruction Get the current average number of traces.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :AVERage:TRACe?
Command [:SENSe]:AVERage:TRACe[1]|2|3|4:CLEar
Format
Instruction Restarts the trace average. This command is only available when average is on.
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :AVERage:TRAC1:CLEar
48 Programming Guide
SIGLENT
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:CPSearch
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:FUNCtion
:CALCulate:MARKer:FCOunt[:STATe]
:CALCulate:MARKer:FCOunt:X?
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:BANDwidth:RESult?
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:BANDwidth:NDB
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:X:READout
:CALCulate:MARKer:TRCKing[:STATe]
Default OFF
Menu Marker
Example :CALCulate:MARK1:STATe ON
Command :CALCulate:MARKer:AOFF
Format
Instruction Turns all the markers off.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :CALCulate:MARKer:AOFF
The other marker can then be moved around on the trace. The marker readout shows the
marker value which moves.
FIXed: Active marker fixed at current position.
OFF: turns the designated marker off. If a marker is not active when the mode is queried,
“off” will be returned.
Return Enumeration
Default OFF
Menu Marker
Example :CALCulate:MARK1:MODE POSition
Example :CALCulate:MARKer1:RELative:TO:MARK 3
50 Programming Guide
SIGLENT
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:Y?
Format
Instruction This command reads the current Y value for the designated marker.
This command can be used to read the results of noise marker.
Make sure that Marker is on, Reference Command:
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:STATe
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:MODE
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu None
Example :CALCulate:MARKer1:Y?
Return: -25
Example :CALCulate:MARKer:TABLe ON
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8[:SET]:START
Format
SIGLENT
Instruction Sets the start frequency to the value of the specified marker frequency. This command is
not available in zero span.
If the specified Marker is OFF, it will set the marker on center.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→Start Freq
Example :CALCulate:MARKer1:START
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8[:SET]:STOP
Format
Instruction Sets the stop frequency to the value of the specified marker frequency. This command is
not available in zero span .
If the specified Marker is OFF, it will set the marker on center.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→Stop Freq
Example :CALCulate:MARKer1:STOP
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8[:SET]:CENTer
Format
Instruction This command sets the center frequency equal to the specified marker frequency, which
moves the marker to the center of the screen. This command is not available in zero span.
If the specified Marker is OFF, it will set the marker on center.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→CF
Example :CALCulate:MARKer1:CENTer
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8[:SET]:STEP
Format
Instruction This command sets the center frequency step equal to the specified marker frequency. This
command is not available in zero span.
If the specified Marker is OFF, it will set the marker on center.
52 Programming Guide
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→CF Step
Example :CALCulate:MARKer1:STEP
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8[:SET]:RLEVel
Format
Instruction This command sets the reference level equal to the specified marker frequency.
If the specified Marker is OFF, it will set the marker on center.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→Ref Level
Example :CALCulate:MARKer2:RLEVel
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:DELTa[:SET]:SPAN
Format
Instruction This command sets the span equal to the specified delta marker frequency.
This command can be only used in DELTa marker mode, Reference
Command:CALCulate:MARKer[1]|2|3|4|5|6|7|8:MODE
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > △ M→Span
Example :CALCulate:MARKer2:DELTa:SPAN
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:DELTa[:SET]:CENTer
Format
Instruction This command sets the center frequency equal to the specified delta marker frequency.
This command can be only used in DELTa marker mode, Reference
Command:CALCulate:MARKer[1]|2|3|4|5|6|7|8:MODE
Parameter None
Type
Parameter None
Range
SIGLENT
Return None
Default None
Menu Marker→ > △ M→CF
Example :CALCulate:MARKer3:DELTa:CENTer
54 Programming Guide
SIGLENT
Command :CALCulate:PEAK:TABLe?
Format
Instruction Gets peak table data.
Parameter None
Type
Parameter None
Range
Return String
Default None
Menu Peak > Peak Table
Example :CALCulate:PEAK:TABLe?
Format :CALCulate:MARKer[1]|2|3|4|5|6|7|8:CPEak[:STATe]?
Instruction Toggles the continuous peak search function between on and off.
Gets the continuous peak search function state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default None
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:MAXimum
Format
Instruction Performs a peak search based on the search mode settings.
(based on the search mode settings, include: peak search mode, peak threshold and peak
excursion, Reference Commands:
:CALCulate:MARKer:PEAK:SEARch:MODE
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak
Example :CALCulate:MARKer4:MAXimum
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:MAXimum:NEXT
Format
Instruction Places the selected marker on the next highest signal peak of the current marked peak.
(based on the search mode settings, include: peak search mode, peak threshold and peak
excursion, Reference Commands:
:CALCulate:MARKer:PEAK:SEARch:MODE
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Next Peak
Example :CALCulate:MARKer1:MAXimum:NEXT
56 Programming Guide
SIGLENT
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:MAXimum:LEFT
Format
Instruction Places the selected marker on the next highest signal peak to the left of the current marked
peak.
(based on the search mode settings, include: peak search mode, peak threshold and peak
excursion, Reference Commands:
:CALCulate:MARKer:PEAK:SEARch:MODE
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Left Peak
Example :CALCulate:MARKer1:MAXimum:LEFT
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:MAXimum:RIGHt
Format
Instruction Places the selected marker on the next highest signal peak to the right of the current
marked peak.
(based on the search mode settings, include: peak search mode, peak threshold and peak
excursion, Reference Commands:
:CALCulate:MARKer:PEAK:SEARch:MODE
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Right Peak
Example :CALCulate:MARKer1:MAXimum:RIGHt
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:CPSearch
Format
Instruction Positions a pair of delta markers on the highest and lowest points on the trace.
Parameter None
Type
Parameter None
Range
Return None
Default None
SIGLENT
Default OFF
Menu Marker Fn
Example :CALCulate:MARK1:FUNCtion FCOunt
Example :CALCulate:MARK:FCOunt 1
Command :CALCulate:MARKer:FCOunt:X?
Format
Instruction To query the frequency counter.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker Fn > Freq Counter
Example :CALCulate:MARK:FCOunt:X?
58 Programming Guide
SIGLENT
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:BANDwidth:RESult?
Format
Instruction Gets the result of N dB bandwidth measurement.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Marker Fn > N dB BW
Example :CALCulate:MARK1:BANDwidth:RESult?
Default -3 dB
Menu Marker Fn > N dB BW
Example :CALCulate:MARK1:BANDwidth:NDB 10
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default ON
Menu Frequency > Signal Track
Example :CALCulate:MARKer:TRCKing on
Command :CALCulate:LLINe:TEST:STARt
Format
Instruction Sets limit test start.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Limit > Test
60 Programming Guide
SIGLENT
Example :CALCulate:LLINe:TEST:STARt
Command :CALCulate:LLINe:TEST:STOP
Format
Instruction Sets limit test stop.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Limit > Test
Example :CALCulate:LLINe:TEST:STOP
Command :CALCulate:LLINe:TEST:STATe?
Format
Instruction Gets limit test state.
Parameter None
Type
Parameter None
Range
Return 0|1
Default OFF
Menu Limit > Test
Example :CALCulate:LLINe:TEST:STAT?
Instruction Mode sets a limit line to be either an upper or lower type limit line. An upper line will be
used as the maximum allowable value when comparing with the data.
Gets limit type.
Parameter Enumeration
Type
Parameter UPPer|LOWer
Range
Return Enumeration
Default The default setting of LINe1 is UPPer, the default setting of LINe2 is LOWer
Menu Limit > Limit1|2 Edit > Type
Example :CALCulate:LLINe1: TYPE LOWer
62 Programming Guide
SIGLENT
Command :CALCulate:LLINe[1]|2:ALL:DELete
Format
Instruction Uses this command to define all the limits points.
Parameter None
Type
Parameter None
Range
Return None
Default None
SIGLENT
Default FREQuency
Menu Limit > Setup > X Axis
Example :CALCulate:LLINe:CONTrol:DOMain FREQuency
64 Programming Guide
SIGLENT
Command :CALCulate:LLINe:FAIL?
Format
Instruction This query returns the limits pass/failed result. If the test result fails, this command will get
result FAIL. If the test result passes, it will get result PASS.
Parameter None
Type
Parameter None
Range
Return PASS|FAIL
Default None
Menu None
Example :CALCulate:LLINe:FAIL?
[:SENSe]:CAT:RST
[:SENSe]:CAT:FREFlect:TYPE
[:SENSe]:CAT:FREFlect:OPEN
[:SENSe]:CAT:FREFlect:SHORt
[:SENSe]:CAT:FREFlect:LOAD
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:RETUrnloss?
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:COEFficient?
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:VSWR?
Command [:SENSe]:CAT:RST
Format
Instruction Clears calibration data.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration > Reset
Example INSTrument:MEASure REFL
:CAT:RST
Command [:SENSe]:CAT:FREFlect:TYPE
Format [:SENSe]:CAT:FREFlect:TYPE?
Instruction Sets calibration type.
Gets calibration type.
Parameter Enumeration
Type
Parameter OPEN:open
Range HOS:(open+short)/2
OL:open+load
Return Enumeration
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:TYPE OL
Command [:SENSe]:CAT:FREFlect:OPEN
Format
Instruction Calibration open circuit.
Parameter None
Type
Parameter None
Range
66 Programming Guide
SIGLENT
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:OPEN
Command [:SENSe]:CAT:FREFlect:SHORt
Format
Instruction Calibration short circuit.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:SHOR
Command [:SENSe]:CAT:FREFlect:LOAD
Format
Instruction Calibration load circuit
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:LOAD
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:RETUrnloss?
Format
Instruction Reads return loss of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection
Example :MEASure:REFLction2:RETUrnloss?
SIGLENT
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:COEFficient?
Format
Instruction Reads Refl coefficient of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:VSWR?
Format
Instruction Reads VSWR of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection
Example :MEASure:REFLction2:VSWR?
ACPR
CHP
OBW
T-Power
SPECtrogram
TOI
CNR
Harmonics
:INSTrument:MEASure
Command :INSTrument:MEASure
Format OFF|ACPR|CHPower|OBW|TPOWer |SPECtrogram|TOI
:INSTrument:MEASure?
Instruction Sets measure mode.
Gets measure mode.
Parameter Enumeration
Type
Parameter OFF: measure off
Range REFLection: Reflection // SSA series products support this function;
ACPR: ACPR
CHPower: Channel Power
68 Programming Guide
SIGLENT
OBW: Occupied BW
TPOWer: T-POWer
SPECtrogram: Spectrogram Monitor
TOI: Third-order Intercept Point
HARMonics: Harmonic analysis
CNR: Carrier Noise Ratio
Return Enumeration
Default OFF
Menu Measure
[:SENSe]:CAT:RST
[:SENSe]:CAT:FREFlect:TYPE
[:SENSe]:CAT:FREFlect:OPEN
[:SENSe]:CAT:FREFlect:SHORt
[:SENSe]:CAT:FREFlect:LOAD
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:RETUrnloss?
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:COEFficient?
[:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:VSWR?
Command [:SENSe]:CAT:RST
Format
Instruction Clears calibration data.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration > Reset
Example INSTrument:MEASure REFL
:CAT:RST
Command [:SENSe]:CAT:FREFlect:TYPE
Format [:SENSe]:CAT:FREFlect:TYPE?
Instruction Sets calibration type.
Gets calibration type.
Parameter Enumeration
Type
Parameter OPEN:open
Range HOS:(open+short)/2
SIGLENT
OL:open+load
Return Enumeration
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:TYPE OL
Command [:SENSe]:CAT:FREFlect:OPEN
Format
Instruction Calibration open circuit.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:OPEN
Command [:SENSe]:CAT:FREFlect:SHORt
Format
Instruction Calibration short circuit.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:SHOR
Command [:SENSe]:CAT:FREFlect:LOAD
Format
Instruction Calibration load circuit
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection > Meas Setup > Calibration
Example INSTrument:MEASure REFL
:CAT:FREFlect:LOAD
70 Programming Guide
SIGLENT
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:RETUrnloss?
Format
Instruction Reads return loss of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection
Example :MEASure:REFLction2:RETUrnloss?
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:COEFficient?
Format
Instruction Reads Refl coefficient of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command [:SENSe]:MEASure:REFLction[1]|2|3|4|5|6|7|8:VSWR?
Format
Instruction Reads VSWR of reflection measurement.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Reflection
Example :MEASure:REFLction2:VSWR?
:MEASure:ACPRatio:MAIN?
:MEASure:ACPRatio:LOWer:POWer?
:MEASure:ACPRatio:LOWer?
:MEASure:ACPRatio:UPPer:POWer?
:MEASure:ACPRatio:UPPer?
Menu Meas > ACPR > Meas Setup > Main Channel
Example INSTrument:MEASure ACPR
:ACPRatio:BWIDth:INTegration 20 MHz
72 Programming Guide
SIGLENT
Menu Meas > ACPR > Meas Setup > Adj Chn Space
Example :ACPRatio:OFFSets 20 MHz
Command :MEASure:ACPRatio:MAIN?
Format
Instruction Returns the main channel power of ACPR measurement.
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu Meas > ACPR
Example :MEASure:ACPRatio:MAIN?
Command :MEASure:ACPRatio:LOWer:POWer?
Format
Instruction Returns the lower adjacent channel power of ACPR measurement.
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Command :MEASure:ACPRatio:LOWer?
Format
Instruction Returns the lower adjacent channel power to main channel power ratio.
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu Meas > ACPR
Example :MEASure:ACPRatio:LOWer?
SIGLENT
Command :MEASure:ACPRatio:UPPer:POWer?
Format
Instruction Returns the upper adjacent channel power of ACPR measurement.
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Command :MEASure:ACPRatio:UPPer?
Format
Instruction Returns the upper adjacent channel power to main channel power ratio.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Meas > ACPR
Example :MEASure:ACPRatio:UPPer?
74 Programming Guide
SIGLENT
Command [:SENSe]:CHPower:FREQuency:SPAN:POWer
Format
Instruction Sets the analyzer span for the channel power measurement. Be sure the span is set larger
than the integration bandwidth.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Ch Power > Meas Setup > Span Power
Example :CHPower:FREQuency:SPAN:POWer
Command :MEASure:CHPower?
Format
Instruction This command returns scalar results of main channel power, and power density.
Parameter None
Type
Parameter None
Range
Return Float, Channel Power unit: dBm
Float, Density unit: dBm/Hz
Default None
Menu Meas > Ch Power
Example :MEASure:CHPower?
Command :MEASure:CHPower:CHPower?
Format
Instruction This command returns the value of the channel power in dBm units.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Meas > Ch Power
Example :MEASure:CHPower:CHPower?
Command :MEASure:CHPower:DENSity?
SIGLENT
Format
Instruction This command returns the value of the channel power density in dBm/Hz.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Meas > Ch Power
Example :MEASure:CHPower:DENSity?
76 Programming Guide
SIGLENT
Default 99
Menu Meas > Occupied BW > Meas Setup > %
Example :OBW:PERCent 50
Command :MEASure:OBWidth?
Format
Instruction Uses this command to query the occupied bandwidth and bandwidth centroid according to
the method you set.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Default None
Menu Meas > Occupied BW
Example :MEASure:OBW?
Command :MEASure:OBWidth:OBWidth?
Format
Instruction Uses this command to query the occupied bandwidth according to the method you set.
Query Centroid Result.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Default None
Menu Meas > Occupied BW
Example :MEASure:OBW:OBW?
SIGLENT
Command :MEASure:OBWidth:CENTroid?
Format
Instruction Uses this command to query the occupied bandwidth according to the method you set.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Default None
Menu Meas > Occupied BW
Example : MEASure:OBW:CENTroid?
Command :MEASure:OBWidth:OBWidth:FERRor?
Format
Instruction Uses this command to query transmit frequency error.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Default None
Menu Meas > Occupied BW
Example :MEASure:OBWidth:OBWidth:FERRor?
4.9.5 SubsectionT-power(T-Power)
[:SENSe]:TPOWer:FREQuency:CENTer
[:SENSe]:TPOWer:LLIMit
[:SENSe]:TPOWer:RLIMit
:MEASure:TPOWer?
78 Programming Guide
SIGLENT
Menu Meas > T-power > Meas Setup > Center Freq
Example :TPOWer:FREQuency:CENTer 15kHz
Command :MEASure:TPOWer?
Format
Instruction Querys the result of T-power measurement.
Parameter Float, unit: dBm
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu Meas > T-power
Example :MEASure:TPOWer?
SIGLENT
Menu Meas > Spectrum Monitor > Meas Setup > Spectrogram
Example :SPECtrogram:STATe PAUSe
Command [:SENSe]:SPECtrogram:RESTart
Format
Instruction Restarts spectrogram.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Spectrum Monitor > Meas Setup > Restart
Example :SPECtrogram:RESTart
Command :MEASure:TOI?
Format
Instruction Gets the result of Third-order Intercept Point.
Parameter None
Type
Parameter None
Range
Return Float
Default None
80 Programming Guide
SIGLENT
Command :MEASure:TOI:IP3?
Format
Instruction Gets the min intercept of the Lower TOI(Lower 3rd) and the Upper TOI(Upper 3rd).
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Meas > TOI
Example :MEASure:TOI:IP3?
Command :MEASure:CNRatio?
Format
Instruction Query CNR
Parameter None
Type
Parameter None
Range
Return Float
Default None
Command :MEASure:CNRatio:CARRier?
Format
Instruction Query Carrier Power
Parameter None
Type
Parameter None
Range
Return Float
Default None
82 Programming Guide
SIGLENT
Command :MEASure:CNRatio:NOISe?
Format
Instruction Query Noise Power
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu Meas > CNR
Example :MEASure:CNRatio:NOISe?
4.9.9 Harmonics(Harmonics)
[:SENSe]:HARMonics:FREQuency:FUNDamental
[:SENSe]:HARMonics:FREQuency:STEP[:INCRement]
[:SENSe]:HARMonics:FREQuency:FUNDamental:AUTO
[:SENSe]:HARMonics:FREQuency:STEP[:INCRement]:AUTO
[:SENSe]:HARMonics:NUMBer
[:SENSe]:HARMonics:SELect
Command [:SENSe]:HARMonics:FREQuency:FUNDamental:AUTO
Format [:SENSe]:HARMonics:FREQuency:FUNDamental:AUTO?
Instruction Sets Fundamental Freq State.
Gets Fundamental Freq State.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return Boolean
Default 1
Menu Meas > Harmonics > Fundamental
Example :HARMonics:FREQuency:FUNDamental:AUTO on
Command [:SENSe]:HARMonics:FREQuency:STEP[:INCRement]:AUTO
Format [:SENSe]:HARMonics:FREQuency:STEP[:INCRement]:AUTO?
Instruction Sets Freq step State.
Gets Freq step State.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return Boolean
Default 1
Command [:SENSe]:HARMonics:NUMBer
Format [:SENSe]:HARMonics:NUMBer?
Instruction Sets Harmonic Number.
Gets Harmonic Number.
Parameter
Integer
Type
Parameter 2 ~ 10
Range
Return Integer
84 Programming Guide
SIGLENT
Default 10
Menu Meas > Harmonics > Harmonic Num
Example :HARMonics:NUMBer 2
Command [:SENSe]:HARMonics:SELect
Format [:SENSe]:HARMonics:SELect?
Instruction Sets the Harmonic to be selected.
Gets the Harmonic which is selected.
Parameter Integer
Type It will set select all Harmonics when the parameter is 0.
Parameter 0 ~ 10
Range
Return Integer
Default 0
Menu Meas > Harmonics > Select Harmonic
Example :HARMonics:SELect 4
4.10 TG Subsystem
:OUTPut[:STATe]
:SOURce:POWer[:LEVel][:IMMediate][:AMPLitude]
:SOURce:CORRection:OFFSet
:CALCulate:NTData[:STATe]
:DISPlay:WINDow:TRACe:Y[:SCALe]:NRLevel
:DISPlay:WINDow:TRACe:Y[:SCALe]:NRPosition
:DISPlay:WINDow:NTTRace[:STATe]
Example :OUTPut ON
SIGLENT
Default 0 dBm
Menu TG > TG Level OffSet
Example :SOURce:CORRection:OFFSet 1
86 Programming Guide
SIGLENT
Example :DISPlay:WINDow:TRACe:Y:NRLevel 10
Example :DEMod AM
Menu Demod
Example DEMod:TIME 5 ms
Example :DEMod:EPHone ON
88 Programming Guide
SIGLENT
Return Integer
Default 6
Menu Demod > Volume
Example :DEMod:EPHone ON
SIGLENT
90 Programming Guide
SIGLENT
:DISPlay:WINDow[ch]:TRACe[1]|2|3|4:Y[:SCALe]:RLEVel
:DISPlay:WINDow[ch]:TRACe[1]|2|3|4:Y[:SCALe]:PDIVision
:DISPlay:WINDow[ch]:TRACe[1]|2|3|4:Y[:SCALe]:RPOSition
Command :DISPlay:WINDow[ch]:TRACe[1]|2|3|4:Y[:SCALe]:AUTO
Format
Instruction Sets auto scale.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Amplitude > Auto Scale
Example :DISPlay:WINDow1:TRACe2:Y:SCALe:AUTO
Default 0 dBm
Menu Amplitude > Ref Level
Example :DISPlay:WINDow:TRACe:Y:RLEVel 20 DB
92 Programming Guide
SIGLENT
Command [:SENSe[ch]]:BWIDth[:RESolution]?
Format
Instruction Querys Intermediate Frequency Bandwidth.
Parameter None
Type
Parameter None
Range
Return Float, Unit: Hz
Default 10 kHz
Menu BW > IFBW
Example :BWIDth?
Example :SWEep:POINts?
Command :INITiate[ch][:IMMediate]
Format
Instruction Restarts the current sweep.
:INITiate:RESTart and :INITiate:IMMediate perform exactly the same function.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:IMMediate
Command ABORt
Format
Instruction This command is used to stop the current measurement. It aborts the current measurement
as quickly as possible, resets the sweep and trigger systems, and puts the measurement into
an "idle" state.
If the analyzer is set for Continuous measurement, it sets up the measurement and initiates
a new data measurement sequence with a new data acquisition (sweep) taken once the
trigger condition is met.
If the analyzer is set for Single measurement, it remains in the "idle" state until
an :INIT:IMM command is received.
94 Programming Guide
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example ABORt
Command :CALCulate[ch]:PARameter[1]2|3|4:DEFine
Format :CALCulate[ch]:PARameter[1]2|3|4:DEFine?
Instruction Sets Measurement parameter.
Gets Measurement parameter.
Parameter Enumeration
Type
Parameter S11
Range S21
Return Enumeration
Default S11
Menu Meas
SIGLENT
Command :CALCulate[ch][:SELected]:FORMat
Format :CALCulate[ch][:SELected]:FORMat?
Instruction Sets displayed data format of VNA.
Querys displayed data format of VNA.
Parameter Enumeration
Type
Parameter MLOGarithmic: Log magnitude
Range PHASe: Phase in degrees
GDELay: Group delay
SLINear: Smith chart (Lin/Phase)
SLOGarithmic: Smith chart (Log/Phase)
SCOMplex: Smith chart (Real/Imag)
SMITh: Smith chart (R+jX)
SADMittance: Smith chart (G+jB)
PLINear: Polar chart(Lin/Phase)
PLOGarithmic: Polar chart (Log/Phase)
POLar: Polar chart (Real/Imag)
MLINear: Linear magnitude
SWR: Standing Wave Ratio
Return Enumeration
Default MLOGarithmic
Command :CALCulate[ch]:PARameter[1]|2|3|4:SELect
Format
Instruction Sets the trace to the current
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Trace > Select Trace
Example :CALCulate:PARameter2:SELect
96 Programming Guide
SIGLENT
Default 1
Menu Trace > Num of Trace
Example :CALCulate:PARameter:COUNt 4
Command DISP:WINDow[ch]:TRACe[1]|2|3|4:STATe
Format DISP:WINDow[ch]:TRACe[1]|2|3|4:STATe?
Instruction Turns on/off trace data display state.
Gets trace data display state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default ON
Menu Trace > Display
Example DISP:WINDow:TRACe2:STATe OFF
Command DISP:WINDow[ch]:TRACe[1]|2|3|4:MEMory[:STATe]
Format DISP:WINDow[ch]:TRACe[1]|2|3|4:MEMory[:STATe]?
Instruction Turn on/off trace memory display state.
Gets trace memory display state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default 0
Menu Trace > Display
Example DISP:WINDow[ch]:TRACe[ch]:MEMory OFF
Command :TRACe[1]|2|3|4:HOLD
Format :TRACe[1]|2|3|4:HOLD?
Instruction Sets trace hold type.
Gets trace hold type.
Parameter Enumeration
Type
Parameter OFF: close trace hold
Range MAX: max hold
MIN: min hold
Return OFF
MAX
MIN
Default 0
Menu Trace > Trace Hold
SIGLENT
Command :CALCulate[ch][:SELected]:MATH:MEMorize
Format
Instruction Copies trace data to memory.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Trace> Data->Mem
Example :CALCulate1:SELected:MATH:MEMorize
Command :CALCulate[ch][:SELected]:MATH:FUNCtion
Format :CALCulate[ch][:SELected]:MATH:FUNCtion?
Instruction Sets trace math type
Parameter Enumeration
Type
Parameter DIVide
Range MULtiply
SUBtract
ADD
OFF
Return Enumeration
Default OFF
Menu Trace > Math
Example :CALCulate1:SELected:MATH:MEMorize
Command :CALCulate[ch][:SELected]:DATA:FDATa
Format :CALCulate[ch][:SELected]:DATA:FDATa?
Instruction Sets format trace data.
Querys format trace data.
Parameter Array data representing NOP (number of measurement points)*2 (formatted data array). N
Type is an integer between 1 and NOP.
• Data (n*2-2): Data from the nth measuring point (real part).
• Data (n*2-1): data from the nth measurement point (imaginary part).
• Array index starts at 0
Parameter
Range
Return Array data
Default None
Menu None
98 Programming Guide
SIGLENT
Command :CALCulate[ch][:SELected]:DATA:FMEMory
Format :CALCulate[ch][:SELected]:DATA:FMEMory?
Instruction Sets format Memory data
Query format Memory data
Parameter Array data representing NOP (number of measurement points)*2 (formatted data array). N
Type is an integer between 1 and NOP.
• Data (n*2-2): Data from the nth measuring point (real part).
• Data (n*2-1): data from the nth measurement point (imaginary part).
• Array index starts at 0
Parameter
Range
Return Memory data
Default None
Menu None
Example :CALCulate:DATA: FMEMory 1,0,0.5,1
Menu None
Example :FORMat ASCii
Default 100
Menu Trace > Average
Example :AVERage:COUNt 200
100 Programming
Guide
SIGLENT
Default OFF
Menu Marker
Example :CALCulate:MARK1:STATe ON
Return POS|DELT|OFF
Default OFF
Menu Marker
Example :CALCulate:MARK1:MODE POSition
Command :CALCulate[ch]:MARKer[1]|2|3|4|5|6|7:Y?
Format
Instruction Gets marker Y value
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu
Example :CALCulate:MARKer1:Y?
Command :CALCulate[ch][:SELected]:MARKer:REFerence[:STATe]
Format :CALCulate[ch][:SELected]:MARKer:REFerence[:STATe]?
Instruction Sets reference marker R state. When set to ON, the other open markers types are changed
to Delta, and when OFF, the open markers are set to Normal.
Gets reference marker R state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
102 Programming
Guide
SIGLENT
Default OFF
Menu
Example :CALCulate:MARKer:REFerence ON
Default ON
Menu Marker > Discrete
Example :CALCulate:SELected:MARKer:DISCrete?
Command :CALCulate:MARKer:AOFF
Format
Instruction Close all markers of current trace.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :CALCulate:MARKer:AOFF
Command :CALCulate:MARKer[1]|2|3|4|5|6|7:MAXimum
Format
Instruction Performs a peak search in current trace, you can select current trace by
using :CALCulate[ch]:PARameter[1]|2|3|4:SELect
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Peak
Example :CALCulate:MARKer4:MAXimum
Command :CALCulate:MARKer[1]|2|3|4|5|6|7:MINimize
Format
Instruction Performs a valley search in current trace, you can select current trace by
using :CALCulate[ch]:PARameter[1]|2|3|4:SELect
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Valley
Example :CALCulate:MARKer4: MINimize
104 Programming
Guide
SIGLENT
Command :CALCulate:MARKer[1]|2|3|4|5|6|7[:SET]:START
Format
Instruction Sets the start frequency to the value of the specified marker frequency.
This command is valid when the Marker is on.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command :CALCulate:MARKer[1]|2|3|4|5|6|7[:SET]:STOP
Format
Instruction Sets the stop frequency to the value of the specified marker frequency.
This command is valid when the Marker is on.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > Marker→Stop Freq
Example :CALCulate:MARKer1:STOP
Command :CALCulate:MARKer[1]|2|3|4|5|6|7[:SET]:CENTer
Format
Instruction This command sets the center frequency equal to the specified marker frequency.
This command is valid when the Marker is on.
Parameter None
Type
Parameter None
Range
SIGLENT
Return None
Default None
Menu Marker→ > M→CF
Example :CALCulate:MARKer1:CENTer
Command :CALCulate:MARKer[1]|2|3|4|5|6|7:DELTa[:SET]:SPAN
Format
Instruction This command sets the span equal to the specified delta marker frequency.
This command can be only used in DELTa marker mode, Reference
Command:CALCulate[ch]:MARKer[1]|2|3|4|5|6|7:MODE
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > △ M→Span
Example :CALCulate:MARKer2:DELTa:SPAN
Command [:SENSe[ch]]:CORRection:RVELocity:COAX
Format [:SENSe[ch]]:CORRection:RVELocity:COAX?
106 Programming
Guide
SIGLENT
Command [:SENSe[ch]]:CORRection:COLLect[:ACQuire]:LOAD
Format
Instruction Measures the Load calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1 (meas port1)
Range
Return None
Default None
Command [:SENSe[ch]]:CORRection:COLLect[:ACQuire]:OPEN
Format
Instruction Measures the OPEN calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1(meas port1)
Range
Return None
Default None
Menu Meas > Cailbration > Calibrate > 1-Port Cal
Example :CORRection:COLLect:OPEN 1
Command [:SENSe[ch]]:CORRection:COLLect[:ACQuire]:SHORt
Format
Instruction Measures the Short calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1
Range
SIGLENT
Return None
Default None
Menu Meas > Cailbration > Calibrate > 1-Port Cal
Example :CORRection:COLLect:SHOR 1
Command [:SENSe[ch]]:CORRection:COLLect[:ACQuire]:THRU
Format
Instruction Measures the THRU calibration standard that is connected between the specified ports.
Parameter Integer (Port1 and Port2)
Type
Parameter 1, 2
Range
Return None
Default None
Menu Meas > Cailbration > Calibrate > ResponseThrough
Example :CORRection:COLLect:THRU 1,2
Command [:SENSe[ch]]:CORRection:COLLect:CKIT:LABel
Format [:SENSe[ch]]:CORRection:COLLect:CKIT:LABel?
Instruction Sets the Cal Kit to use.
Gets the Cal Kit.
Parameter String
Type (you should use “” when you input kits name)
Parameter "F503ME", ”85032F”,” 85036B/E”,”User1”,”User2”
Range
Return "F503ME", ”85032F”,” 85036B/E”, ”User1”,”User2”
Default "F503ME"
Menu Meas > Cailbration > Cal Kit
Example :CORRection:COLLect:CKIT:LABel ”85032F”
Command [:SENSe]:CORRection:COLLect:CKIT:GENDer
Format [:SENSe]:CORRection:COLLect:CKIT:GENDer?
Instruction Setsthe gender of Calibration Kits.
Gets the gender of Calibration Kits.
Parameter String
Type
Parameter Male
Range Female
Return Male
Female
Default Male
Menu Meas > Cailbration > Cal Kit
108 Programming
Guide
SIGLENT
Command [:SENSe[ch]]:CORRection:COLLect:CKIT:LABel:CATalog?
Format
Instruction Reads the available Cal Kits in the SVA1000.
Parameter None
Type
Parameter None
Range
Return "F503ME", ”85032F”,” 85036B/E”
Default
Menu
Example :CORRection:COLLect:CKIT:LABel:CATalog?
Command [:SENSe[ch]]:CORRection:COLLect:METHod:SOLT1
Format
Instruction Sets the Cal Method to 1-port SOLT calibration.
Parameter Integer
Type
Parameter 1
Range
Return None
Default None
Command [:SENSe[ch]]:CORRection:COLLect:METHod[:RESPonse]:THRU
Format
Instruction Sets the Cal Method to 2-port TRL calibration.
Parameter Integer
Type
Parameter Port(1, 2)
Range
Return None
Default None
Menu Meas > Cailbration > Calibrate > ResponseThrough
Example :CORRection:COLLect:METHod:THRU 1,2
SIGLENT
Command [:SENSe[ch]]:CORRection:COLLect:METHod:TYPE?
Format
Instruction Querys Calibration type.
Parameter None
Type
Parameter None
Range
Return "NONE", " SOLT1", " RESPT" (Enheneed Response Not added yet)
Default
Menu
Example :CORRection:COLLect:METHod:TYPE?
Command [:SENSe[ch]]:CORRection:COLLect:CLEar
Format
Instruction Clears Calibration Data.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :CORRection:COLLect:CLEar
Command [:SENSe[ch]]:CORRection:COLLect:SAVE
Format
Instruction Ends the calibration
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example :CORRection:COLLect:SAVE
110 Programming
Guide
SIGLENT
Command [:SENSe[ch]]:CORRection:EXTension[:STATe]
Format [:SENSe[ch]]:CORRection:EXTension[:STATe]?
Instruction Sets port extension state.
Gets port extension state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default OFF
Command [:SENSe[ch]]:CORRection:EXTension:PORT[1]2:TIME
Format [:SENSe[ch]]:CORRection:EXTension:PORT[1]2:TIME?
Instruction Sets extended port delay.
Gets extended port delay.
Parameter Float
Type
Parameter
Range
Return Float
Default 0
Menu Meas > Cailbration > Port Extensions > Delay Port1|2
Example :CORRection:EXTension:PORT1:TIME
Command [SENSe[Ch]]:CORRection:EXTension:AUTO:PORT
Format
Instruction At present, only automatic open port 1 is supported, and off is not processed
Parameter Boolean
Type
Parameter Boolean
Range
Return None
Default None
SIGLENT
Menu Meas > Cailbration > Port Extensions > Auto Open Port1
Example :CORRection:EXTension:AUTO:PORT 1,ON
112 Programming
Guide
SIGLENT
6.Distance To Fault
6.1 Frequency Subsection .......................................................... 错误!未定义书签。
6.2 Amplitude Subsection .......................................................... 错误!未定义书签。
6.3 Sweep Subsection ................................................................. 错误!未定义书签。
6.4 Trace Subsection .................................................................. 错误!未定义书签。
6.5 Marker Subsection............................................................... 错误!未定义书签。
6.6 Measurement Subsystem..................................................... 错误!未定义书签。
Command :DISPlay:WINDow:TRACe:Y[:SCALe]:AUTO
Format
Instruction Sets auto scale.
Parameter None
Type
Parameter None
114 Programming
Guide
SIGLENT
Range
Return None
Default None
Menu Amplitude > Auto Scale
Example :DISPlay:WINDow:TRACe:Y:SCALe:AUTO
Example :DISPlay:WINDow:TRACe:Y:PDIVision 2
Command :INITiate[:IMMediate]
Format
Instruction Restarts the current sweep.
:INITiate:RESTart and :INITiate:IMMediate perform exactly the same function.
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:IMMediate
Command ABORt
Format
Instruction This command is used to stop the current measurement. It aborts the currentmeasurement
as quickly as possible, resets the sweep and trigger systems, and puts the measurement into
an "idle" state.
If the analyzer is set for Continuous measurement, it sets up the measurement and initiates
a new data measurement sequence with a new data acquisition (sweep) taken once the
trigger condition is met.
If the analyzer is set for Single measurement, it remains in the "idle" state until
an :INIT:IMM command is received.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example INIT;ABORt
116 Programming
Guide
SIGLENT
Command DISP:WINDow:TRACe:STATe
Format DISP:WINDow:TRACe:STATe?
Instruction Turns on oroff trace data display state.
Gets trace data display state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default ON
Command DISP:WINDow:TRACe:MEMory[:STATe]
Format DISP:WINDow:TRACe:MEMory[:STATe]?
Instruction Turns on oroff trace memory display state.
Gets trace memory display state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default OFF
Menu Trace > Display
Command :CALCulate[:SELected]:MATH:MEMorize
Format
Instruction Copies trace data to memory.
Parameter None
Type
Parameter None
Range
Return None
SIGLENT
Default None
Menu Trace > Data→Mem
Example :CALCulate:SELected:MATH:MEMorize
Example :AVERage:TRACe:STATe ON
118 Programming
Guide
SIGLENT
:CALCulate:MARKer[1]|2|3|4:MINimize
Default OFF
Menu Marker
Example :CALCulate:MARK1:MODE POSition
Default 7.12m/1.59995GHz
Menu Marker > Normal
Command :CALCulate:MARKer[1]|2|3|4:Y?
Format
Instruction Gets marker Y value.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Default None
Menu Marker > Cont Peak
Example :CALCulate:MARKer1:CPSEarch ON
Command :CALCulate[:SELected]:MARKer:AOFF
Format
Instruction Close All Markers of current trace.
Parameter None
Type
120 Programming
Guide
SIGLENT
Parameter None
Range
Return None
Default None
Menu
Example :CALCulate:MARKer:AOFF
Command :CALCulate:MARKer[1]|2|3|4:MAXimum
Format
Instruction Performs a peak search.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Peak
Example :CALCulate:MARKer4:MAXimum
Command :CALCulate:MARKer[1]|2|3|4:MINimize
Format
Instruction Performs a valley search.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Valley
Example :CALCulate:MARKer4:MINimize
:CALCulate:TRANsform:DISTance:WINDow
[:SENSe]:CORRection:COLLect:METHod:SOLT1
[:SENSe]:CORRection:COLLect[:ACQuire]:LOAD
[:SENSe]:CORRection:COLLect[:ACQuire]:OPEN
[:SENSe]:CORRection:COLLect[:ACQuire]:SHORt
[:SENSe]:CORRection:COLLect:METHod:TYPE?
[:SENSe]:CORRection:COLLect:CLEar
[:SENSe]:CORRection:COLLect:SAVE
Default REFLcoe
Menu Meas
Example :CALCulate:PARameter:DEFine DTF
122 Programming
Guide
SIGLENT
Return Float
Default 30.6 m
Menu Meas > Stop Distance
Example :CALCulate:TRANsform:DISTance:STOP 32.5 m
Command [:SENSe]:CORRection:COLLect:METHod:SOLT1
Format
Instruction Sets the Cal Method to 1-port SOLT calibration.
Parameter Integer
Type
Parameter 1
Range
Return None
Default None
Menu Meas > Cailbration > Calibrate
Example :CORRection:COLLect:METHod:SOLT1 1
Command [:SENSe]:CORRection:COLLect[:ACQuire]:LOAD
Format
Instruction Measures the Load calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1
Range
Return None
Default 1
Menu
Example :CORRection:COLLect:LOAD 1
124 Programming
Guide
SIGLENT
Command [:SENSe]:CORRection:COLLect[:ACQuire]:OPEN
Format
Instruction Measures the Open calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1
Range
Return None
Default 1
Menu
Example :CORRection:COLLect:OPEN 1
Command [:SENSe]:CORRection:COLLect[:ACQuire]:SHORt
Format
Instruction Measures the Short calibration standard that is connected to the specified port.
Parameter Integer
Type
Parameter 1
Range
Return None
Default 1
Menu
Example :CORRection:COLLect:SHOR 1
Command [:SENSe]:CORRection:COLLect:METHod:TYPE?
Format
Instruction Querys Calibration type.
Parameter None
Type
Parameter None
Range
Return "NONE", " SOLT1", ” RESPT”
Default
Menu
Example :CORRection:COLLect:METHod:TYPE?
Command [:SENSe]:CORRection:COLLect:CLEar
Format
Instruction Clears Calibration Data.
Parameter None
Type
SIGLENT
Parameter None
Range
Return None
Default None
Menu
Example :CORRection:COLLect:CLEar
Command [:SENSe]:CORRection:COLLect:SAVE
Format
Instruction Ends the calibration.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :CORRection:COLLect:SAVE
126 Programming
Guide
SIGLENT
7.Modulation Analyzer
7.1 Frequency Subsection .......................................................... 错误!未定义书签。
7.2 Amplitude Subsection .......................................................... 错误!未定义书签。
7.3 BW Subsection ..................................................................... 错误!未定义书签。
7.4 Sweep Subsection ................................................................. 错误!未定义书签。
7.5 Trace Subsection .................................................................. 错误!未定义书签。
7.6 Marker Subsection............................................................... 错误!未定义书签。
7.7 Measurement Subsystem..................................................... 错误!未定义书签。
7.8 Trigger Subsection ............................................................... 错误!未定义书签。
Command [:SENSe]:FREQuency:SPAN?
Format
Instruction Querys span.
The span of modulation analyzer mode is determined by multiple measurement parameters,
and can not be set directly.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Default 31.25 kHz
Menu Span > Span
Example [:SENSe]:FREQuency:SPAN?
128 Programming
Guide
SIGLENT
Command :TRACe1|2|3|4[:Y]:AUToscale
Format
Instruction Sets auto scale.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Amplitude > Auto Scale
Example :TRACe2:AUToscale
7.3 BW Subsection
[:SENSe]:BWIDth[:RESolution]?
[:SENSe]:DDEMod:FFT:WINDow:TYPE
Command [:SENSe]:BWIDth[:RESolution]?
Format
Instruction Querys equalization BW.
Parameter None
Type
Parameter None
Range
Return Float, unit: Hz
Command [:SENSe]:DDEMod:FFT:WINDow:TYPE
Format [:SENSe]:DDEMod:FFT:WINDow:TYPE?
Instruction Sets FFT window function.
Gets FFT window function.
Parameter Enumeration
Type RECTangular
HAMMing :
HANNing
FLATtop
BLACkman
130 Programming
Guide
SIGLENT
Parameter None
Range
Return Enumeration RECT
HAMM
HANN
FLAT
BLAC
Default 100 kHz
Menu BW > Window
Example :DDEMod:FFT:WINDow:TYPE BLAC
Command :INITiat[:IMMediate]
Format
Instruction Restart the current sweep.
:INITiate:RESTart and :INITiate:IMMediate perform exactly the same function.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:IMMediate
Command ABORt
Format
Instruction This command is used to stop the current measurement. It aborts the currentmeasurement
as quickly as possible, resets the sweep and trigger systems, and puts the measurement into
an "idle" state.
If the analyzer is set for Continuous measurement, it sets up the measurement and initiates
a new data measurement sequence with a new data acquisition (sweep) taken once the
trigger condition is met.
If the analyzer is set for Single measurement, it remains in the "idle" state until
an :INIT:IMM command is received.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu None
Example INIT;ABORt
Default 1
Menu Trace > Num of Traces
Example :CALCulate:PARameter:COUNt 4
132 Programming
Guide
SIGLENT
Command :TRACe[1]|2|3|4:DATA:NAME
Format :TRACe[1]|2|3|4:DATA:NAME?
Instruction Sets trace format.
Gets trace format.
Parameter Enumeration
Type
Parameter TIME: time
Range
SPECtrum: spectrum
RTIMe: IQ Reference time (Reconstructed ideal time waveform to compare IQ Meas Time
against)
MERRor: IQ Mag Err (Difference in length of the IQ Meas Time vector and IQ Ref Time
vectorat each point in time.)
PERRor: IQ Phase Err (Difference in phase of the IQ Meas Time vector and IQ Ref Time
vector at each point in time.)
EVTime: Error Time (Vector difference between IQ Meas Time and IQ Ref Time at each
pointin time.)
SYMSerrs: Syms/Errs
Return Enumeration
Default
Menu Trace > Format
Example :TRACe:DATA:NAME SYMS
SIGLENT
Command :TRACe[1]|2|3|4:FORMat[:Y]
Format :TRACe[1]|2|3|4:FORMat[:Y]?
Instruction Sets trace format
Gets trace format
Parameter Enumeration
Type
Parameter MLOG: Log Mag
Range MLINear: Lin Mag
REAL: Real
IMAGinary: Imag
IQ: I-Q
CONStln: Constellation
IEYE: I-Eye
QEYE: Q-Eye
WPHAse: Wrap Phase
UWPHase: Unwrap Phase
TRELlis: Trellis-Eye
Return MLOG
MLIN
REAL
IMAG
IQ
CONS
IEYE
QEYE
WPHA
UWPH
TREL
Default
Menu Trace > Format
Default None
Menu Trace > Copy To
134 Programming
Guide
SIGLENT
Type
Parameter 2 ~ 40
Range
Return Integer
Default 2
Command :TRACe:DEMod:TABLe:FORMat
Format :TRACe:DEMod:TABLe:FORMat?
Instruction Displays format of Symbol Table data.
Parameter Enumeration
Type
Parameter BINary|HEXadecimal
Range
Return Enumeration BIN|HEX
Default HEX
Menu Trace > Properties
Example :TRACe1:MARKer1:ENABle ON
Menu Marker
Example :TRACe:MARKer:TYPE POSition
Command :TRACe[1]|2|3|4:MARKer[1]|2|3|4:Y?
Format
Instruction Gets marker Y value.
Parameter None
Type
Parameter None
Range
Return Float
Default None
Menu None
Example :TRACe:MARKer:Y?
136 Programming
Guide
SIGLENT
Default None
Menu Marker > Couple
Example :CALCulate:MARKer:COUPle ON
Command :CALCulate:MARKer:AOFF
Format
Instruction Close all markers.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker > All Off
Example :CALCulate:MARKer:AOFF
:DDEMod[:FORMat]:SRATe
[:SENSe]:DDEMod[:FORMat]:SYMBol:POINts
[:SENSe]:DDEMod[:FORMat]:RLENgth
[:SENSe]:DDEMod:FILTer[:MEASurement]
[:SENSe]:DDEMod:FILTer:REFerence
[:SENSe]:STATistic:STATe
[:SENSe]:AVERage[:STATe]
[:SENSe]:AVERage:COUNt
:CALCulate:RESTart
:READ:DDEMod?
Command [:SENSe]:DDEMod:MODulation
Format [:SENSe]:DDEMod:MODulation?
Instruction Sets Digital Demodulation Mode.
Gets Digital Demodulation Mode.
Parameter Enumeration
Type
Parameter ASK2
Range MSK
BPSK
QPSK
PSK8
DBPSK
DQPSK
DPSK8
OQPSK
PI4DQ
PI8D8
QAM16
QAM32
QAM64
QAM128
QAM256
FSK2
FSK4
FSK8
FSK16
Return Enumeration
Default QAM16
Menu Meas
Example :DDEMod:MODulation FSK8
Command [:SENSe]:ADEMod:STYLe
Format [:SENSe]:ADEMod:STYLe?
Instruction Sets Analog Modulation Type.
Gets Analog Modulation Type.
138 Programming
Guide
SIGLENT
Parameter Enumeration
Type
Parameter AM
Range FM
Return Enumeration: AM|FM
Default AM
Menu Meas
Example :ADEMod:STYLe AM
Default 128
Menu Meas > Meas Length
Example :DDEMod:RLENgth 200
Command [:SENSe]:DDEMod:FILTer[:MEASurement]
Format [:SENSe]:DDEMod:FILTer[:MEASurement]?
Instruction Sets meas filter.
Gets meas filter.
Parameter Enumeration
Type
Parameter OFF
Range RRCosine
RCOSine
GAUSsian
HSIN
Return 0|1
Default ASK, FSK, PSK, QAM Default is RCOSine
MSK Default is OFF
Menu Meas > Filter Setup > Meas Filter
Example :DDEMod:FILTer HSIN
Command [:SENSe]:DDEMod:FILTer:REFerence
Format [:SENSe]:DDEMod:FILTer:REFerence?
Instruction Sets reference filter.
Gets reference filter.
Parameter Enumeration
Type
Parameter OFF
Range RRCosine: Root Raised Cosine
RCOSine : Raised Cosine
GAUSsian
HSIN:Half Sine
Return Enumeration
Default ASK, FSK, PSK, QAM Default is RRC
MSK Default is GAUS
Menu Meas > Ref Filter
Example :DDEMod:FILTer:REFerence OFF
Command [:SENSe]:STATistic:STATe
Format [:SENSe]:STATistic:STATe?
Instruction Sets Meas Statistic State.
Gets Meas Statistic State.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
140 Programming
Guide
SIGLENT
Return Enumeration
Default OFF
Menu Meas > Statistic > Statistic
Example :STATistic:STATe ON
Command [:SENSe]:AVERage[:STATe]
Format [:SENSe]:AVERage[:STATe]?
Instruction Sets meas average state.
Gets meas average state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return Boolean
Default OFF
Menu Meas> Statistic > Avg
Example :AVERage ON
Command [:SENSe]:AVERage:COUNt
Format [:SENSe]:AVERage:COUNt?
Instruction Sets meas average count.
Gets meas average count.
Parameter Integer
Type
Parameter 1 ~ 1000
Range
Return Integer
Default 10
Menu Meas> Statistic > Avg
Example :AVERage:COUNt 20
Command :CALCulate:RESTart
Format
Instruction Restarts measurements.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Statistic > Restart Meas
SIGLENT
Example :CALCulate:RESTart
Command :READ:DDEMod?
Format
Instruction Read digital demod result.
If demod type is ASK it will return:
1. ASK err rms (% rms)
2. ASK err peak (% pk)
3. symbol position of ASK err peak
4. carrier power
5. carrier offset
6. ASK depth
Default None
Menu
Example :READ:DDEMod?
142 Programming
Guide
SIGLENT
Default IMMediate
Menu Trigger
144 Programming
Guide
SIGLENT
146 Programming
Guide
SIGLENT
Command [:SENSe]:FREQuency:SPAN:FULL
Format
Instruction Sets the frequency span to full scale.
Parameter None
Type
Parameter None
Range
Return None
Default None
Command [:SENSe]:FREQuency:SPAN:ZERO
Format
Instruction Sets the frequency span to zero span.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span > Zero Span
Example :FREQuency:SPAN:ZERO
Command [:SENSe]:FREQuency:SPAN:PREVious
Format
Instruction Sets the frequency span to the previous span setting.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span > Last Span
Example :FREQuency:SPAN:PREVious
Command [:SENSe]:FREQuency:SPAN:HALF
Format
Instruction Sets the frequency span to half of the current span setting.
Parameter None
Type
SIGLENT
Parameter None
Range
Return None
Default None
Menu Span> Zoom In
Example :FREQuency:SPAN:HALF
Command [:SENSe]:FREQuency:SPAN:DOUBle
Format
Instruction Sets the frequency span to double the current span setting.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Span> Zoom Out
Example :FREQuency:SPAN:DOUBle
148 Programming
Guide
SIGLENT
Default 0 dBm
Menu Amplitude > Ref Level
Example :DISPlay:WINDow:TRACe:Y:RLEVel 20 DBM
Example :DISPlay:WINDow:TRACe:Y:PDIVision 10 dB
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default OFF
Menu Amplitude > Preamp
Example :POWer:GAIN ON
8.3 BW Subsection
[:SENSe]:BWIDth[:RESolution]
[:SENSe]:BWIDth[:RESolution]:AUTO
[:SENSe]:FILTer:TYPE
150 Programming
Guide
SIGLENT
Example :BWID:AUTO On
Command [:SENSe]:FILTer:TYPE
Format [:SENSe]:FILTer:TYPE?
Instruction Sets FFT window function.
Gets FFT window function.
Parameter Enumeration
Type
Parameter KAISer
Range HANNing
FLATtop
GAUSsian
BHARris
RECTangular
Return KAIS
HANN
FLAT
GAUS
BHAR
RECT
Default 100 kHz
Command [:SENSe]:ACQuisition:TIME
Format [:SENSe]:ACQuisition:TIME?
SIGLENT
Example :ACQuisition:TIME 2s
Command [:SENSe]:ACQuisition:TIME:AUTO
Format [:SENSe]:ACQuisition:TIME:AUTO?
Instruction This command turns on/off auto sweep time state.
Gets sweep time state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default ON
Command :INITiate[:IMMediate]
Format
Instruction Restarts the current sweep.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu
Example :INITiate:IMMediate
152 Programming
Guide
SIGLENT
Range
Return 0|1
Default ON
Menu Sweep > Sweep
Example :INITiate:CONTinuous OFF
Command :INITiate:Pause
Format
Instruction Pause current sweeep (pause at the end of the current sweep).
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Sweep > Pause
Example :INITiate:Pause
Command :INITiate:RESume
Format
Instruction Resume paused sweep
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Sweep > Resume
Example :INITiate:RES
[:SENSe]:DETector:TRACe:SPECtrogram
[:SENSe]:DETector:TRACe:PVTime
[:SENSe]:AVERage:TRACe[1]|2|3:COUNt
Menu Trace
Example :TRAC1:MODE AVER
Menu None
Example :TRACe:DATA?
Command :TRACe[:DATA]:SPECtrum?
Format
Instruction This query command returns the spectrum trace data.
Parameter None
Type
Parameter None
Range
Return String
Default 1
Menu None
154 Programming
Guide
SIGLENT
Example :TRACe:SPEC?
Command :TRACe[:DATA]?:PVT?
Format
Instruction This query command returns the pvt trace data.
Parameter None
Type
Parameter None
Range
Return String
Default 1
Menu None
Example :TRACe:PVT?
Command [:SENSe]:DETector:TRACe[1]|2|3[:FUNCtion]
Format NEGative|POSitive|SAMPle|AVERage
[:SENSe]:DETector:TRACe[1]|2|3[:FUNCtion]?
Instruction Specifies the detection mode. For each trace interval (bucket), average detection displays
the average of all the samples within the interval.
Parameter Enumeration
Type
Parameter NEGative: Negative peak detection displays the lowest sample taken during the interval
Range being displayed.
POSitive: Positive peak detection displays the highest sample taken during the interval
being displayed.
SAMPle: Sample detection displays the sample taken during the interval being displayed,
and is used primarily to display noise or noise-like signals.
In sample mode, the instantaneous signal value at the present display point is placed into
memory. This detection should not be used to make the most accurate amplitude
measurement of non noise-like signals.
AVERage: Average detection is used when measuring the average value of the amplitude
across each trace interval (bucket). The averaging method used by the average detector is
set to either video or power as appropriate when the average type is auto coupled.
SIGLENT
Return Enumeration
Default POSitive
Menu Detect
Command [:SENSe]:DETector:TRACe:SPECtrogram
Format [:SENSe]:DETector:TRACe:SPECtrogram?
Instruction Sets the detect type of spectrogram.
Parameter Enumeration
Type
Parameter NEGative
Range POSitive
SAMPle
AVERage
Return Enumeration
Default POS
Menu Detect
Example :DET:TRAC:SPEC POS
Command [:SENSe]:DETector:TRACe:PVTime
Format [:SENSe]:DETector:TRACe:PVTime?
Instruction Sets the detect type of PVT.
Parameter Enumeration
Type
Parameter NEGative
Range POSitive
SAMPle
AVERage
Return Enumeration
Default POS
Menu Detect
156 Programming
Guide
SIGLENT
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:MODE
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:TRACe
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:REFerence
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:X
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:Y
Return Enumeration
Default OFF
Menu Marker
Example :CALCulate:MARKer1:REFerence 3
Parameter Frequency: Float, unit: Hz, kHz, MHz, GHz, Default “Hz”
Type Time: Float, unit: us, ms, s, ks, Default “s”
Parameter 0~7.5GHz
Range
Return Float
Default
Command :CALCulate:MARKer[1]|2|3|4|5|6|7|8:Y
Format :CALCulate:MARKer[1]|2|3|4|5|6|7|8:Y?
Instruction This command reads the current Y value for the designated marker.
This command can be used to read the results of noise marker.
Make sure that Marker is on, Reference Command:
:CALCulate:MARKer[1]|2|3|4|5|6|7|8:MODE
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu Marker > Normal
Example :CALCulate:MARKer1:Y?
158 Programming
Guide
SIGLENT
Default IMMediate
Menu Trigger
Example :TRIGger:SOURce IMMediate
Default 0s
Menu Trigger > PVT > Trigger Delay
Example :TRIGger:LEVel:DELay 0.5 dBm
Command :TRIGger[:SEQuence]:EXTernal:DELay<value>
Format :TRIGger[:SEQuence]:EXTernal:DELay?
Instruction Specifies the delay at which an external trigger will occur. External is adjusted using this
command, but must also be selected using the command.
Gets external Trigger Delay.
Parameter Float, unit: ks,s,ms,us,ps,ns
Type
Parameter 0~25s
Range
Return Float, unit: dBm
Default 0s
Menu Trigger > PVT > Delay
Example :TRIGger[:SEQuence]: EXTernal: DELay 2
Default POSitive
Menu Trigger > External Trigger > Trigger edge
Example :TRIGger:EXTernal:SLOPe POSitive
160 Programming
Guide
SIGLENT
Command TRIGger[:SEQuence]:FMT:MASK:BUILd
Format
Instruction Auto creats a FMT MASK according to waveform shape.
Parameter Enumeration
Type
Parameter None
Range
Return None
Default None
Menu Limit > Mask Edit > Build
Example TRIGger:FMT:MASK:BUILd
Command :TRIGger[:SEQuence]:FMT:STATe
Format :TRIGger[:SEQuence]:FMT:STATe?
Instruction Sets FMT Trigger state,
Gets FMT Trigger state.
Parameter Bool
Type
Parameter ON|OFF|0|1
Range
Return 0|1
Default OFF
Command :TRIGger[:SEQuence]:FMT:MASK:DELete:ALL
Format
Instruction Deletes all FMT mask points.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Limit > Mask Edit > Del All
Example :TRIGger:FMT:MASK:DELete:ALL
162 Programming
Guide
SIGLENT
:DISPlay:VIEW:DENSity:PERSistence
:DISPlay:VIEW:SPECtrogram:TRACe:NUMber
:DISPlay:VIEW:SPECtrogram:TRACe:STARt
Command :DISPlay:VIEW:DENSity:PERSistence:INFinite
Format :DISPlay:VIEW:DENSity:PERSistence:INFinite?
Instruction Turns on or off persistence infinite mode.
Querys the setting status of infinite persistence mode.
Parameter Boolean
Type
Parameter ON|OFF|0|1
Range
Return 0|1
Default OFF
Menu Meas Setup > Persistence
Example :DISP:VIEW:DENS:PERS:INF ON
Command :DISPlay:VIEW:DENSity:PERSistence
Format :DISPlay:VIEW:DENSity:PERSistence?
Instruction Sets the Duration of persistence.
Parameter Float, unit: ks,s,ms,us
Type
Parameter 0 s ~ 10 s
Range
Return Float, unit: s
Default 0s
Menu Meas Setup > Persistence
Example :DISP:VIEW:DENS:PERS 5s
SIGLENT
Command :DISPlay:VIEW:SPECtrogram:TRACe:NUMber
Format :DISPlay:VIEW:SPECtrogram:TRACe:NUMber?
Instruction Sets the display trace.
Gets the display trace.
Parameter Integer
Type
Parameter
Range
Return Integer
Default 1
Menu Meas Setup > Display Trace
Command :DISPlay:VIEW:SPECtrogram:TRACe:STARt
Format :DISPlay:VIEW:SPECtrogram:TRACe:STARt?
Instruction Sets the display trace start.
Gets the display trace start.
Parameter Float
Type
Parameter
Range
Return Float
Default
164 Programming
Guide
SIGLENT
9.EMI Measurement
9.1 Frequency Subsection .......................................................... 错误!未定义书签。
9.2 Amplitude Subsection .......................................................... 错误!未定义书签。
9.3 Sweep Subsection ................................................................. 错误!未定义书签。
9.4 Bandwidth Subsection ......................................................... 错误!未定义书签。
9.5 Trace Subsection .................................................................. 错误!未定义书签。
9.6 Marker Subsection............................................................... 错误!未定义书签。
9.7 Limit Subsection ................................................................. 错误!未定义书签。
9.8 Measurement Subsystem..................................................... 错误!未定义书签。
Default LOG
Menu Span > X Scale
Example :DISP:WIND:TRAC:X:SPAC LIN
Parameter Enumeration
Type
Parameter CISA|CISB|CISC|CISBC|CISD
Range
Return Enumeration
Default CISC
:DISPlay:FSCan:VIEW:WINDow:TRACe:Y[:SCALe]:PDIVision
:DISPlay:WINDow:TRACe:Y:SCALe:RLEVel:OFFSet
:DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing
Command [:SENSe]:POWer[:RF]:ATTenuation
Format [:SENSe]:POWer[:RF]:ATTenuation?
Instruction Sets the input attenuator of the EMI Measurement.
Gets the input attenuator.
Parameter Integer
Type
Parameter 0 dB ~ 51 dB
Range
Return Integer, unit: dB
Default 20 dB
Menu Amplitude > Attenuator
Example :POWer:ATTenuation 10
168 Programming
Guide
SIGLENT
Default OFF
Menu Amplitude > Preamp
Example :POWer:GAIN ON
Example :DISPlay:WINDow:TRACe:Y:PDIVision 10 dB
170 Programming
Guide
SIGLENT
Command INITiate[:IMMediate]
Format
Instruction Restart the current sweep.
Parameter OFF|ON|0|1
Range
Return 0|1
Default ON
Menu Sweep > RBW/Step
Example :FSCan:SCAN:PRBW:AUTO 1
Command [:SENSe]:FSCan:SCAN:POINts?
Format
Instruction Gets sweep points.
Parameter None
Type
Parameter None
Range
Return Integer
Default 2251
Menu Sweep > Sweep Points
Example :FSC:SCAN:POINts?
172 Programming
Guide
SIGLENT
Default ON
Menu BW > RBW(Scan)
Example :FSC:SCAN:BWID:AUTO ON
Default ON
Menu BW > RBW(Meter)
Example :BWID:AUTO ON
Command :TRACe[1]|2|3:FSCan:TYPE
Format WRITe|MAXHold|MINHold|VIEW|BLANk|AVERage
:TRACe[1]|2|3:FSCan:TYPE?
Instruction Selects the display mode for the selected trace.
Gets the display mode for the selected trace.
174 Programming
Guide
SIGLENT
Parameter Enumeration
Type
Parameter WRITe: puts the trace in the normal mode, updating the data.
Range MAXHold: displays the highest measured trace value for all the data that has been
measured since the function was turned on.
MINHold: displays the lowest measured trace value for all the data that has been
measured since the function was turned on.
VIEW: turns on the trace data so that it can be viewed on the display.
BLANk: turns off the trace data so that it is not viewed on the display.
AVERage: averages the trace for test period.
Return Enumeration
Menu Detect
Example :DET:TRAC2 POS
Default 1
Menu Trace > Average
Example :AVERage:TRACe1:COUNt 10
Parameter None
Type
Parameter None
Range
Return String
Default 1
Menu None
Example :TRACe:DATA?
Menu None
Example :FORMat ASCii
Instruction This command toggles the selected marker status between on and off.
Gets marker state.
Parameter Boolean
Type
Parameter OFF|ON|0|1
Range
Return 0|1
Default OFF
Menu Marker
Example :CALC:FSC:MARK1:STAT ON
Default OFF
Menu Marker
Example :CALC:FSC:MARK1:MODE POSition
Example :CALC:FSC:MARK1:REF 2
Command :CALCulate:FSCan:MARKer[1]|2|3|4|5|6:Y?
Format
Instruction This command reads the current Y value for the designated marker.
Parameter None
Type
Parameter None
Range
Return Float, unit: dBm
Default None
Menu Marker > Normal
Example :CALC:FSC:MARK1:Y?
Command :CALCulate:FSCan:MARKer[1]|2|3|4|5|6[:SET]:SLISt
Format
Instruction Set marker frequency to signal list.
Parameter None
Type
Parameter None
Range
178 Programming
Guide
SIGLENT
Return None
Default None
Menu Marker→ > M→List
Example :CALC:FSC:MARK1:SLIS
Command :CALCulate:FSCan:MARKer[1]|2|3|4|5|6[:SET]:METer
Format
Instruction Replaces the frequency of the selected marker with Frequency (Meters). If the Meters
frequency is out of the current span, an error is generated and the marker is not moved.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > M→Meter
Example :CALC:FSC:MARK1:MET
Command :CALCulate:FSCan:MARKer[1]|2|3|4|5|6:TO:METer
Format
Instruction Replaces Frequency (Meters) with the frequency identified by the selected marker.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Marker→ > Meter→M
Example :CALC:FSC:MARK1:TO:MET
Command :CALCulate:FSCan:MARKer[1]|2|3|4|5|6:MAXimum
Format
Instruction Performs a peak search based on the search mode settings.
(based on the search mode settings, include: peak threshold and peak excursion,
Reference Commands:
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak
Example :CALCulate:MARKer4:MAXimum
Command :CALCulate:MARKer[1]|2|3|4|5|6:MAXimum:LEFT
Format
Instruction Places the selected marker on the next highest signal peak to the left of the current
marked peak.
(based on the search mode settings, include: peak threshold and peak excursion,
Reference Commands:
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
180 Programming
Guide
SIGLENT
Default None
Menu Peak > Left Peak
Example :CALCulate:MARKer1:MAXimum:LEFT
Command :CALCulate:MARKer[1]|2|3|4|5|6:MAXimum:RIGHt
Format
Instruction Places the selected marker on the next highest signal peak to the right of the current
marked peak.
(based on the search mode settings, include: peak threshold and peak excursion,
Reference Commands:
:CALCulate:MARKer:PEAK:THReshold
:CALCulate:MARKer:PEAK:EXCursion)
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Peak > Right Peak
Example :CALCulate:MARKer1:MAXimum:RIGHt
Parameter OFF|ON|0|1
Range
Return 0|1
Default 0
Menu Limit > Test
Example :CALCulate:LLINe:TEST ON
182 Programming
Guide
SIGLENT
Parameter Enumeration
Type
Parameter 1|2|3
Range
Return Enumeration
Default 1
Menu Limit > Limit1|2|3 Setup > Test Trace
Example :CALC:FSC:LLIN1:TRAC 2
Parameter Integer
Type
Parameter None
Range
Return None
Default None
Menu Limit > Limit1|2|3 Edit > Del Point
Example :CALC:LLIN1:DEL 2
Command :CALCulate:LLINe[1]|2|3:ALL:DELete
Format
Instruction Uses this command to define all the limits points.
184 Programming
Guide
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Limit > Limit1|2|3 Edit > Del All
Example :CALC:LLIN2:ALL:DELete
Command :CALCulate:LLINe:FAIL?
Format
Instruction This query command returns the limits pass/failed result. If the test result fails, this
command will get result FAIL. If the test result passes, it will get result PASS.
Parameter None
Type
Parameter None
Range
Return PASS|FAIL
Default None
Menu None
Example :CALC:LLIN:FAIL?
Command [:SENSe]:FSCan:SEQuence
Format SCAN|SEARch|SSAMeasure|SASearch|SAMeasure|REMeasure
[:SENSe]:FSCan:SEQuence?
Instruction Sets the sequence.
Gets the sequence.
Parameter Enumeration
Type
Parameter SCAN | SEARch | SSAMeasure | SASearch | SAMeasure | REMeasure
Range
Return Enumeration
Default SCAN
Menu Meas > Sequence
Default 1
Menu Meas > Meter Config > Meter 1|2|3
186 Programming
Guide
SIGLENT
Return 0|1
Default 0
Menu Meas > Meter Config > Meter1|2|3 Limit > Limit
Example :CALC:MET1:LIM:STAT ON
Default
Menu Meas > Meter Config > Meter Limit
Example :CALCulate:METer1:LIMit:ULLine LIMit1
Parameter Integer
Type
Parameter
Range
Return None
Default None
188 Programming
Guide
SIGLENT
Command :CALCulate:SLISt:MARK:ALL
Format
Instruction Marks all signals in signal list.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > Mark All
Example :CALC:SLIS:MARK:ALL
Command :CALCulate:SLISt:MARK:CLEar:ALL
Format
Instruction Clears all the marks from the signal list.
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > List Operation > Clear All Marks
Example :CALC:SLIS:MARK:CLE:ALL
Parameter Integer
Type
Parameter
Range
Return None
Default None
Command :CALCulate:SLISt:DELete:ALL
Format
Instruction Deletes all signals from signal list.
SIGLENT
Parameter None
Type
Parameter None
Range
Return None
Default None
Menu Meas > List Operation > Delete All
Example :CALC:SLIS:ALL
Default None
Menu Meas > List Operation > Sort By
Example :CALC:SLIS:SORT:TYPE FREQ
190 Programming
Guide
SIGLENT
10.Programming Examples
This chapter gives some examples for the programmer. In these examples you can see how to use the VISA
or sockets, in combination with the commands have been described above to control the spectrum analyzer.
By following these examples, you can develop many more applications.
2、 Set the project environment to use the NI-VISA lib, there are two ways to use NI-VISA, static or
automatic:
1)Static: find files: visa.h, visatype.h, visa32.lib in NI-VISA install path. Copy them to your project, and
add them into project. In the projectname.cpp file, add the follow two lines:
#include "visa.h"
#pragma comment(lib,"visa32.lib")
2)Automatic:
Set the .h file include directory, the NI-VISA install path, in our computer we set the path is: C:\Program
Files\IVI Foundation \VISA\WinNT\include. Set this path to project---properties---c/c++---General---
Additional Include Directories: See the picture.
192 Programming
Guide
SIGLENT
/* Find all the USB TMC VISA resources in our system and store the number of resources in the system in
numInstrs.*/
status = viFindRsrc (defaultRM, "USB?*INSTR", &findList, &numInstrs, instrResourceString);
if (status<VI_SUCCESS)
{
printf ("An error occurred while finding resources.\nPress 'Enter' to continue.");
fflush(stdin);
getchar();
viClose (defaultRM);
returnstatus;
}
/** Now we will open VISA sessions to all USB TMC instruments.
* We must use the handle from viOpenDefaultRM and we must
* also use a string that indicates which instrument to open. This
* is called the instrument descriptor. The format for this string
* can be found in the function panel by right clicking on the
* descriptor parameter. After opening a session to the
* device, we will get a handle to the instrument which we
* will use in later VISA functions. The AccessMode and Timeout
* parameters in this function are reserved for future
* functionality. These two parameters are given the value VI_NULL.*/
for (i=0; i<int(numInstrs); i++)
{
if (i> 0)
{ viFindNext (findList, instrResourceString);
} status = viOpen (defaultRM, instrResourceString, VI_NULL, VI_NULL, &instr);
if (status<VI_SUCCESS)
{
printf ("Cannot open a session to the device %d.\n", i+1);
continue;
}
/* * At this point we now have a session open to the USB TMC instrument.
* We will now use the viPrintf function to send the device the string "*IDN?\n",
* asking for the device's identification. */
char * cmmand ="*IDN?\n";
status = viPrintf (instr, cmmand);
if (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. We will use the viScanf
* function to acquire the data.
* After the data has been read the response is displayed.*/
status = viScanf(instr, "%t", buffer);
if (status<VI_SUCCESS)
{ printf ("Error reading a response from the device %d.\n", i+1);
} else
{ printf ("\nDevice %d: %s\n", i+1, buffer);
}status = viClose (instr);
}
/** Now we will close the session to the instrument using
* viClose. This operation frees all system resources. */
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();return 0;
}
strcat(head,pIP);
strcat(head,tail);
status = viOpen (defaultRM, head, VI_LOAD_CONFIG, VI_NULL, &instr);
if (status<VI_SUCCESS)
{
printf ("An error occurred opening the session\n");
viClose(defaultRM);
}
status = viPrintf(instr, "*idn?\n");
status = viScanf(instr, "%t", outputBuffer);
if (status<VI_SUCCESS)
{
printf("viRead failed with error code: %x \n",status);
viClose(defaultRM);
}else
{ printf ("\nMesseage read from device: %*s\n", 0,outputBuffer);
} status = viClose (instr);
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();return 0;
}
int _tmain(int argc, _TCHAR* argv[])
{
printf("Please input IP address:");
char ip[256];
fflush(stdin);
gets(ip);
TCP_IP_Test(ip);
return 0;
}
10.1.2 Example of VB
Environment: Win7 32bit system, Microsoft Visual Basic 6.0
The function of this example: Use the NI-VISA, to control the device with USBTMC and TCP/IP access
to do a write and read.
Follow the steps to complete the example:
1、 Open Visual Basic, build a standard application program project (Standard EXE)
2、 Set the project environment to use the NI-VISA lib, Click the Existing tab of Project>>Add Existing
Item. Search for the visa32.bas file in the include folder under the NI-VISA installation path and add the
194 Programming
Guide
SIGLENT
file.
This allows the VISA functions and VISA data types to be used in a program.
3、 Add codes:
1)USBTMC access code:
Write a function Usbtmc_test:
Private Function Usbtmc_test() As Long
' 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" string to all the USBTMC
' devices connected to the system and attempts to read back
' results using the write and read functions.
' The general flow of the code is
' Open Resource Manager
' Open VISA Session to an Instrument
' Write the Identification Query Using viWrite
' Try to Read a Response With viRead
' Close the VISA Session
status = viOpenDefaultRM(defaultRM)
If (status < VI_SUCCESS) Then
resultTxt.Text = "Could not open a session to the VISA Resource Manager!"
Usbtmc_test = status
Exit Function
End If
' Find all the USB TMC VISA resources in our system and store the
' number of resources in the system in numInstrs.
' Now we will open VISA sessions to all USB TMC instruments.
' We must use the handle from viOpenDefaultRM and we must
' also use a string that indicates which instrument to open. This
' is called the instrument descriptor. The format for this string
' can be found in the function panel by right clicking on the
' descriptor parameter. After opening a session to the
' device, we will get a handle to the instrument which we
' will use in later VISA functions. The AccessMode and Timeout
' parameters in this function are reserved for future
' functionality. These two parameters are given the value VI_NULL.
For i = 0 To numInstrs
If (i > 0) Then
status = viFindNext(findList, instrResourceString)
End If
status = viOpen(defaultRM, instrResourceString, VI_NULL, VI_NULL, instrsesn)
If (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.
' We will now use the viWrite function to send the device the string "*IDN?",
' asking for the device's identification.
' Now we will attempt to read back a response from the device to
' the identification query that was sent. We will use the viRead
' function to acquire the data.
' After the data has been read the response is displayed.
status = viRead(instrsesn, Buffer, MAX_CNT, retCount)
If (status < VI_SUCCESS) Then
resultTxt.Text = "Error reading a response from the device." + CStr(i + 1)
Else
resultTxt.Text = "Read from device: " + CStr(i + 1) + " " + Buffer
End If
status = viClose(instrsesn)
Next i
196 Programming
Guide
SIGLENT
1、 Open MATLAB, modify the current directory. In this demo, the current directory is modified to
D:\USBTMC_TCPIP_Demo.
SIGLENT
3、 Add codes:
1)USBTMC access code :
function USBTMC_test()
% This code demonstrates sending synchronous read & write commands
% to an USB Test & Measurement Class (USBTMC) instrument using
% NI-VISA
end
function TCP_IP_test()
% This code demonstrates sending synchronous read & write commands
% to an TCP/IP instrument using NI-VISA
end
198 Programming
Guide
SIGLENT
2、 Add controls. Right-click in the Front Panel interface, select and add VISA resource name, error in,
error out and some indicators from the Controls column.
3、 Open the Block Diagram interface. Right-click on the VISA resource name and you can select and
add the following functions from VISA Palette from the pop-up menu: VISA Write, VISA Read, VISA
Open and VISA Close.
5、 Select the device resource from the VISA Resource Name list box and run the program.
In this example, the VI opens a VISA session to a USBTMC device, writes a command to the device, and
reads back the response. In this example, the specific command being sent is the device ID query. Check
with your device manufacturer for the device command set. After all communication is complete, the VI
closes the VISA session.
6、 Communicating with the device via TCP/IP is similar to USBTMC. But you need to change VISA
Write and VISA Read Function to Synchronous I/O. The LabVIEW default is asynchronous I/O.
Right-click the node and select Synchronous I/O Mod>>Synchronous from the shortcut menu to write
or read data synchronously.
200 Programming
Guide
SIGLENT
#!/usr/bin/env python
#-*- coding:utf-8 –*-
#-----------------------------------------------------------------------------
# The short script is a example that open a socket, sends a query,
# print the return message and closes the socket.
#-----------------------------------------------------------------------------
import socket # for sockets
import sys # for exit
import time # for sleep
#-----------------------------------------------------------------------------
remote_ip = "10.11.13.32" # should match the instrument’s IP address
port = 5025 # the port number of the instrument service
count = 0
def SocketConnect():
try:
#create an AF_INET, STREAM socket (TCP)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
except socket.error:
print ('Failed to create socket.')
sys.exit();
try:
#Connect to remote server
s.connect((remote_ip , port))
info = s.recv(4096)
print (info)
except socket.error:
print ('failed to connect to ip ' + remote_ip)
return s
def SocketClose(Sock):
#close the socket
Sock.close()
time.sleep(.300)
SIGLENT
def main():
global remote_ip
global port
global count
# Body: send the SCPI commands *IDN? 10 times and print the return message
s = SocketConnect()
for i in range(10):
qStr = SocketQuery(s, b'*IDN?')
print (str(count) + ":: " + str(qStr))
count = count + 1 SocketClose(s)
input('Press "Enter" to exit')
if __name__ == '__main__':
proc = main()
Run result:
202 Programming
Guide