Spectrum Compact v2
API user manual v.1.0
14
API commands
Description
dtmode
Return currently selected detector mode:
0 -
MAX
1 -
MIN
2 -
AVG
dtmode
< 0 | 1 | 2 >
Sets detector mode in the following format:
0 -
MAX
1 -
MIN
2 -
AVG
time
Returns current Spectrum Compact system time.
time
<hours>
<minutes>
<sec>
Sets time on Spectrum Compact in the following format:
Hours
<00>
Minutes
<00>
Seconds
<00>
date
Returns current time set on Spectrum Compact.
date
<year>
<month>
<date>
Sets date on Spectrum Compact in the following format:
Year
<2021>
Month
<01>
Date
<01>
orient
Returns the current orientation of the Spectrum Compact screen in
the following format:
P2
-
Vertical & RF connector UP
P0
-
Vertical & RF connector DOWN
L1
-
Horizontal & RF connector to RIGHT
L3
-
Horizontal & RF connector to LEFT
dir
Returns all directories and files in the main directory.
dir
<folder name>
Returns all files in the specified directory.
file
CURVES <filename.scc>
Returns power values saved in a spectrum curve file.
sn
Returns SC unit product number and serial number in the following
format:
P/N
-
product number
S/N
-
serial number
msd
Changes Spectrum Compact service mode from USB mode to Mass
Storage Device mode and disables the COM port on PC.
NOTE! Changing the USB mode from API will close the connection
via the COM port and you will need to change the USB mode on the
Spectrum Compact device to reconnect to the unit via the API.