
Spectrum Compact v2
API user manual v.1.0
12
6
API CLI commands and description Table 2
API commands
Description
?
Displays available commands.
ver
Displays information about hardware version, firmware version, and
firmware release date.
freq
Displays selected frequency information in the following format in
kHz:
Start Freq -
selected sweep start frequency
End Freq -
selected sweep end frequency
Span -
selected span
Min -
minimum allowed frequency
Max -
maximum allowed frequency
sweepu
Displays information in the following format about the selected
frequency in
kHz:
Start Freq -
selected sweep start frequency
End Freq -
selected sweep end frequency
Freq step -
selected frequency step
sweepu
<start frequency in kHz>
<end frequency in kHz>
<frequency step in kHz>
kHz
Sweeps entered spectrum range with specific step once and returns
the detected values in dBm. Enter values in
kHz
:
Start Freq -
selected sweepu start frequency
End Freq -
selected sweepu end frequency
Freq step -
selected frequency step
-
Each
sweep
starts after a ‘#’ character
-
Tracepoints are returned as hexadecimal unsigned byte strings
consisting of 2 characters (except when overload is detected
–
then ‘^’ character is returned
also)
-
The frequency step depends on the currently selected RBW
(values in
-
The minimum allowed
span
(i.e. difference between the start
and end frequencies) depends on the currently selected
RBW
.
-
If there is external attenuation used it must be added (as
“offset”) to obta
in the actual power value.
-
To stop the data stream, send any character (but the sweep will
continue on the device, see “
stop
”)