sa_measurement deprecated

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

Deprecated

This method is deprecated and will be removed soon. Please use set_output_termination, set_rbw, and set_window

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Moku:Delta1, 2, 3, 4, 5, 6, 7, 8
number required
Left-most frequency
allowed values:
Moku:Lab0 to 250e6
Moku:Go0 to 30e6
Moku:Pro0 to 300e6
Moku:Delta0 to 2e9
units: Hz
number required
Right-most frequency
allowed values:
Moku:Lab0 to 250e6
Moku:Go0 to 30e6
Moku:Pro0 to 300e6
Moku:Delta0 to 2e9
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