background image

 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. 

 

 

 

Summary of Contents for Spectrum Compact 0.3-3 GHz v2

Page 1: ...r Manual v 1 0 Spectrum Compact 0 3 3 GHz v2 J0SSAP33 Spectrum Compact 2 8 GHz v2 J0SSAP55 Spectrum Compact 6 20 GHz v2 J0SSAP52 Spectrum Compact 16 26 5 GHz v2 J0SSAP53 Spectrum Compact 24 40 GHz v2...

Page 2: ...n outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help Changes or modifications not expressly approved by the pa...

Page 3: ...nual v 1 0 2 1 Contents 2 Introduction 3 3 Installing Spectrum Compact drivers 3 4 Establish PC connection with Spectrum Compact 5 5 Spectrum compact API command line commands Table 1 8 6 API CLI comm...

Page 4: ...re section 3 Installing Spectrum Compact drivers These drivers enable you to communicate with Spectrum Compact via a USB interface Spectrum Compact Windows driver is available to download from https s...

Page 5: ...site to communicate with Spectrum Compact 2 Click Extract all and unzip Windows driver installation file 3 Choose a supported Operating system Begin the installation process by double clicking on inst...

Page 6: ...Compact Locate and open Control panel in Windows OS and choose Windows Device Manager Before connecting Spectrum Compact to PC locate COM ports that have been used by other devices Turn on Spectrum C...

Page 7: ...identify COM port that will be used to communicate between PC and Spectrum Compact Right click on the new COM port in the Ports list Then choose properties and change default communication settings Th...

Page 8: ...Serial Change the default COM port to the COM port that has been identified as the COM port for Spectrum Compact and also change Speed to 115200 Click Open and launch a new Spectrum Compact terminal w...

Page 9: ...s Yes Yes Yes Yes Yes 3 ver Yes Yes Yes Yes Yes Yes 3 freq Yes Yes Yes Yes Yes Yes 4 stop Yes Yes Yes Yes Yes Yes 5 trace Yes Yes Yes Yes Yes Yes 6 trace 1 8 Yes Yes Yes Yes Yes Yes 7 lna Yes Yes Yes...

Page 10: ...q if RBW 10 kHz 500 kHz N A N A N A N A N A if RBW 30 kHz 1500 kHz 1500 kHz N A N A N A N A if RBW 100 kHz 5000 kHz 5000 kHz 5000 kHz 5000 kHz 5000 kHz 5000 kHz if RBW 300 kHz 15000 kHz 15000 kHz 1500...

Page 11: ...z 5000 kHz if RBW 300 kHz 15000 kHz 15000 kHz 15000 kHz 15000 kHz 15000 kHz 15000 kHz if RBW 1000 kHz N A N A 50000 kHz 50000 kHz 50000 kHz 50000 kHz 18 dtmode Yes Yes Yes Yes Yes Yes 19 dtmode 0 1 2...

Page 12: ...3 6 12 V 5 3 6 12 Product number P N J0SSAP33 J0SSAP55 J0SSAP52 J0SSAP53 J0SSAP74 J0SSAP54 28 orient Yes Yes Yes Yes Yes Yes 28 dir Yes Yes Yes Yes Yes Yes 29 dir folder name Yes Yes Yes Yes Yes Yes 3...

Page 13: ...cy 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 sta...

Page 14: ...t 0 Off 1 On lcd 0 1 Sets LCD screen on and off with the following arguments 0 Off 1 On lna Returns current Low Noise Amplifier LNA state in the following format 0 Off 1 On lna 0 1 Activates or deacti...

Page 15: ...act 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 file...

Page 16: ...alculated Power in Band value once in dBm for selected frequency range RESULT VALUE ATT REF Enter values in kHz format Start Freq selected pib start frequency End Freq selected pib end frequency retur...

Reviews: