configure_measurement
Enter a measurement such as channel power, OBW, ACPR, or harmonics and set its parameters; the analyzer stays in that mode and restores prior settings on exit.
Instructions
Enter a measurement (channel_power, time_power, obw, acpr, toi, cn or harmonics) and set its parameters; the instrument stays in the measurement until exit_measurement. preset=true (default) is :CONFigure:, false is :CONFigure::NDEFault. Either way the instrument changes the span, RBW and sweep time (for example span 3 MHz); when entered from spectrum analyzer mode the previous frequency, bandwidth and sweep settings are saved and exit_measurement puts them back, and so is the tracking generator output (entering a measurement switches it off). While a measurement is active most spectrum analyzer queries (detector, trace type) get no reply and the tracking generator cannot be changed.
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": {
"measurement": "<measurement>"
},
"name": "configure_measurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xdb | No | obw only: x dB level in dB, -100 to -0.1 | |
| preset | No | Preset the measurement's parameters (default true) | |
| average | No | Measurement averaging on/off | |
| percent | No | obw only: occupied power fraction, above 0 up to 1 (0.99 = 99 %); the instrument clamps to 0.9999 | |
| offset_hz | No | acpr or cn: offset of the adjacent channel (acpr) or of the noise (cn) from the carrier, in Hz, 0 or more | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured | |
| measurement | Yes | ||
| offset_side | No | acpr only: which adjacent channels to measure | |
| average_type | No | Average type | |
| left_limit_s | No | time_power only: left limit in s, 0-0.01 (10 ms) | |
| sweep_time_s | No | harmonics only: sweep time in s, 0.001-100 | |
| average_count | No | Averages, integer 1-999 (manual range) | |
| right_limit_s | No | time_power only: right limit in s, 0-0.01 (10 ms) | |
| fundamental_hz | No | harmonics only: fundamental frequency in Hz | |
| average_control | No | Average termination control | |
| harmonics_count | No | harmonics only: number of results including the fundamental, integer 2-10 (the preset is 2) | |
| noise_bandwidth_hz | No | cn only: noise bandwidth in Hz | |
| carrier_bandwidth_hz | No | acpr only: carrier (main channel) bandwidth in Hz | |
| integration_bandwidth_hz | No | channel_power, acpr or cn: integration bandwidth in Hz (channel_power: clamped by the instrument to 100 Hz..3.61 GHz) |