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:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4, 5, 6, 7, 8 
  number  required 
  
                Left-most frequency
            
allowed values:Moku:Lab 0 to 250e6 Moku:Go 0 to 30e6 Moku:Pro 0 to 300e6 Moku:Delta 0 to 2e9 
units: Hz  number  required 
  
                Right-most frequency
            
allowed values:Moku:Lab 0 to 250e6 Moku:Go 0 to 30e6 Moku:Pro 0 to 300e6 Moku:Delta 0 to 2e9 
units: Hz  string  
  
                Resolution bandwidth mode
            
default: Autoallowed values:Auto, Manual, Minimum  number  
  
                Desired RBW value (only in manual mode)
            
default: 5000units: Hz  string  
  
                Window Function
            
default: BlackmanHarrisallowed 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