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:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
number required
Left-most frequency
allowed values:Moku:Lab 0 to 250e6 Moku:Go 0 to 30e6 Moku:Pro 0 to 300e6
units: Hz
number required
Right-most frequency
allowed values:Moku:Lab 0 to 250e6 Moku:Go 0 to 30e6 Moku:Pro 0 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
2
3
4
5
6