configure_bode
Configures Bode plot sweep parameters on a Rigol MHO98 oscilloscope, setting start/stop frequencies, points, amplitude, and input/output channels for frequency-response analysis.
Instructions
Bode plot configuration (requires generator option; manual 3.5.1-3.5.11).
sweep_type: LOG|LINE (DECade/LINear spellings are accepted as aliases). ref_in/ref_out: DUT input/output channel, CH1..CH4 (CHAN/CHANnel forms OK). start_hz: 10 Hz-3 MHz; stop_hz: 100 Hz-30 MHz; when both are given the manual constraint start*10 <= stop is enforced. points: sweep points per decade, 10-100. voltage: sweep amplitude in V, 20 mV-10 V, applied to the frequency range given by voltage_range (default ALL, i.e. a unified amplitude); voltage_range: ALL|10|100|1K|10K|100K|1M|10M|25M (numeric forms like 1000 or 2.5e7 also accepted); only used together with voltage. gain_curve/phase_curve: display the amplitude/phase frequency curve (settable only while the instrument is stopped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| enable | No | ||
| points | No | ||
| ref_in | No | ||
| ref_out | No | ||
| stop_hz | No | ||
| voltage | No | ||
| start_hz | No | ||
| gain_curve | No | ||
| sweep_type | No | ||
| phase_curve | No | ||
| voltage_range | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |