1.5.53 SpectrumElement

The SpectrumElement embeds the spectrum display of a spectrum analyzer device in the screen. Actually, only the CSM-Spectrum-Analyzer device may be used with the SpectrumElement.

The SpectrumElement subscribes for a variety of parameter of the spectrum analyzer device to display its settings in the diagram area. It also permits to command some aspects of the spectrum analyzer device like the marker position. The spectrum data itself is read by subscribing for the 'trace' parameter of the device. This returns the spectrum data as a SpectrumTrace with each sweep of the spectrum analyzer. A complete description of the function of the spectrum element is given in a separate document.

Data Model (extends ScreenElement)

Key Type Value
type String Always "SpectrumElement".
xpos Number see ScreenElement
ypos Number see ScreenElement
width Number see ScreenElement
height Number see ScreenElement
id String The device name of the spectrum analyzer which shall be shown.
privilege Number The privilege level requires to change settings of the spectrum analyzer.
label String A label shown above the element
font String The font to be used for the label
color String The color used for the label (#RRGGBB)