background image

 Spectrum Compact v2 

 

API user manual v.1.0                                                                                                                                                                                                                                                                 

 

15 

 

 

 

API commands 

Description

 

trace 

Returns the currently selected trace mode displayed on the screen of 
Spectrum Compact: 

 

1

 

 normal 

2

 

 maxhold 

3

 

 minmaxhold 

4

 

 cumulative 

5

 

 average2 

6

 

 average 4 

7

 

 average 8 

8

 

 average16 

 

trace 

< 1 

 8 >

 

 

Sets the trace mode displayed on the screen of Spectrum Compact.  

Note:  values  returned  with  “

sweepu

”  and  “

sweepc

”  command

s  are 

always  with  “normal”  trace  mode  (any  processing  must  be  done 

afterward). 

pib  

<start frequency in kHz>  
<end frequency in kHz> 

 

Returns  calculated  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 

 

* returns calculated Power-in-Band values continuously 

zspan  

<center frequency in 
kHz>

 

 

Returns  measured  signal  level  continuously  in  dBm  for  selected 
center  frequency  point 

  zero  span,  with  set  RBW  value.  Each 

measurement point is returned as ASCII hexadecimal unsigned byte 
strings  consisting  of  2  +  1  characters.

 

Structure  of  returned  value: 

XXY, where XX 

 value in dBm ; Y 

 counter from 0 to 9. 

 

  Start Freq -

 

selected zero span center frequency

 

 
To stop an ongoing command immediately, send any character while 
data is being received. 

 
 
 

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: