SCPI (Standard Commands for Programmable Instrument) is an ASCII- based instrument command language designed for test and measurement instruments, with the goal of reducing automatic test equipment (ATE) program development time. SCPI accomplishes this goal by providing a consistent programming environment for instrument control and data usage. In this section, we mainly introduce some basic command about the calculate subsystem.
Markers All Off on All Traces
Command format:
:CALCulate:MARKer:AOFF
Function description:
This command turns off all markers on all traces.
Turn on or off COUNT
Command format:
CALCulate:MARKer:FCOunt[:STATe] OFF|ON|0|1
Function description:
Turn on or off the COUNT function.
Query frequency values of COUNT
Command format:
CALCulate:MARKer:FCOunt:X?
Function description:
Query frequency values of COUNT, unit is Hz.
Set mark as current mark
Command format:
CALCulate:MARKer:CURrent 0|1|2|3
Function description:
Set mark as current mark, easy for control.
Set measurement type of current mark
Command format:
CALCulate:MARKer:MODE OFF|POSition|DELTa|BAND|SPAN
CALCulate:MARKer:MODE?
Function description:
Set measurement type of current mark.
Query measurement type of current mark.
Parameter specification:
OFF: Turn off current cursor
POSition: to set measurement type as Normal
DELTa: to set measurement type as Different value
BAND: to set measurement type as Band
SPAN: to set measurement type as Span
Return format:
Query return to POS,DELT,BAND,SPAN or OFF
Marker Peak Left Search
Command format:
CALCulate:MARKer:MAXimum:LEFT
Function description:
Search a peak which is the nearest on the left of current peak and meets the search
condition, and mark with current cursor.
Instruction
“No peak is found” will be displayed on the screen when there is no approperate
peak been found.
Marker Peak Right Search
Command format:
CALCulate:MARKer:MAXimum:RIGHt
Function description:
Search a peak which is the nearest on the right of current peak and meets the
search condition, and mark with current cursor.
Instruction
“No peak is found” will be displayed on the screen when there is no approperate
peak been found.
Marker Peak Next Search
Command format:
CALCulate:MARKer:MAXimum:NEXT
Function description:
Search a peak which amplitude is next only to current peak and meets the search
condition, and mark with current cursor.
Instruction
“No peak is found” will be displayed on the screen when there is no approperate
peak been found.
Execute peak search and mark once
Command format:
CALCulate:MARKer:MAXimum:MAX
Function description:
Execute peak search once as the setting of search mode, and mark it with current
marker.
Check the minimum amplitude value on the trace
Command format:
CALCulate:MARKer:MINimum
Function description:
Check the minimum amplitude value on the trace, and mark it with current marker.
Instruction
It shows “No peak found” when can not find any peak.
Turn on or off the continuous peak search
Command format:
CALCulate:MARKer:CPEak[:STATe] OFF|ON|0|1
Function description:
Turn on continuous peak search and mark the peak with current marker.
Or turn off the continuous peak search.
Instruction
If there is no marker be turned on, it turns on Marker 1 automaticly and marks peak.
Related spectrum analyzer products:
S3332 Handheld Spectrum Analyzer (9kHz – 1.6GHz/3.2GHz)
S3302 Handheld Spectrum Analyzer (9kHz – 4GHz/6.5GHz/9GHz/20GHz/26.5GHz/32GHz/44GHz)