fra_measurement
Sets up commonly used configurations in the Frequency Response Analyzer, including the frequency range, averaging, and swept sine amplitude.Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
string
Measurement mode
default: InOut
allowed values:In, InOut, InIn1
number
Sweep start frequency
default: 0
allowed values:Moku:Lab 10e-3 to 200e6 Moku:Go 10e-3 to 20e6 Moku:Pro 10e-3 to 300e6
units: Hz
number
Sweep end frequency
default: 0
allowed values:Moku:Lab 10e-3 to 200e6 Moku:Go 10e-3 to 20e6 Moku:Pro 10e-3 to 300e6
units: Hz
number
Minimum averaging time per sweep point.
default: 0
allowed values:1e-6 to 10
units: Seconds
integer
Minimum averaging cycles per sweep point.
default: 0
allowed values:1 to 1,048,576
number
Output amplitude (For Moku:Pro, the output voltage is limited to between - 1V and 1 V above 1 MHz)
default: 0
allowed values:Moku:Lab 2e-3 to 4 Moku:Go 2e-3 to 10 Moku:Pro 1e-3 to 10
units: Vpp
boolean
Disable all implicit conversions and coercions.
default: true
# Sample response
{'averaging_cycles': 1, 'averaging_duration': 1.0, 'mode': 'InOut',
'output_amplitude': 0.002, 'start_frequency': 100.0,
'stop_frequency': 20000000.0}
1
2
3
4
2
3
4