sa_measurement

Sets up commonly used configurations in the Spectrum Analyzer, including the frequency range, channel signal source, resolution bandwidth, and window function.

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
number required
Left-most frequency
allowed values:
Moku:Lab0 to 250e6
Moku:Go0 to 30e6
Moku:Pro0 to 300e6
units: Hz
number required
Right-most frequency
allowed values:
Moku:Lab0 to 250e6
Moku:Go0 to 30e6
Moku:Pro0 to 300e6
units: Hz
string
Resolution bandwidth mode
default: Auto
allowed values:Auto, Manual, Minimum
number
Desired RBW value (only in manual mode)
default: 5000
units: Hz
string
Window Function
default: BlackmanHarris
allowed values:BlackmanHarris, FlatTop, Rectangular, Bartlett, Hamming, Hann, Nuttall, Gaussian, Kaiser
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "frequency1": 10.0,
    "frequency2": 10000000.0,
    "rbw": "Auto",
    "window": "BlackmanHarris"
}
1
2
3
4
5
6