set_ad_display
Configure a selected AD display window's Y-axis reference level, per-division value, or AF spectrum spacing (window 3) to set amplitude scaling for spectrum and demodulation views.
Instructions
Configure one AD display window's Y-axis reference level and/or per-division value, and (window 3 only) the AF spectrum's linear/log spacing. AD module must be active. The unit of reference_level/per_division depends on the window and current demod type (AM/FM, read fresh from :CONFigure? each call) — see each parameter's description. Live-verified (2026-11-12) for window 1 and window 3's spacing setter; window 2's unit and exact clamp-vs-error behavior were not separately exercised. Everything requested is re-read afterwards and any instrument-adjusted value is reported in 'warnings'. Leaves the new state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"window": "<window>"
},
"name": "set_ad_display"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | Display window: 1 RF spectrum, 2 demodulation waveform, 3 AF (modulation) spectrum | |
| af_spacing | No | AF spectrum Y-axis spacing. Only documented for window 3 (manual, PM p.150) | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured | |
| per_division | No | Y-axis value per division, same unit as reference_level for the chosen window | |
| reference_level | No | Y-axis reference level. Unit depends on window and demod type: dBm (window 1), modulation depth fraction in AM / Hz deviation in FM (window 2), unconfirmed (window 3, manual ambiguous) |