set_span

Set the desired frequency span to be analyzed.

Rounding and quantization in the instrument limits the range of spans for which a full set of 1024 data points can be calculated. This means that the resultant number of data points in SpectrumData frames will vary with the set span. Note however that the associated frequencies are given with the frame containing the data.

Parameters

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
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
  "frequency1": 10.0,
  "frequency2": 10000000.0
}
1
2
3
4