Measurements & FFT
scope_measureMeasure signal amplitude, timing, phase, and FFT spectrum from oscilloscope captures, or run scope-side measurements and list available measurement types.
Instructions
Measure amplitude/timing parameters, phase, or the spectrum of a signal.
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": {
"operation": "<operation>"
},
"name": "scope_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | scope: measurement names (see 'list') | |
| points | No | fresh: points to capture | |
| window | No | fft window | hann |
| channel | No | Channel 1-4 (default: every analog trace in the capture, or CH1) | |
| n_peaks | No | fft: number of spectral peaks to report | |
| channel2 | No | Second channel for phase/delay | |
| operation | Yes | all: compute measurements on the last capture (host-side) | fresh: capture now, then compute | scope: use the scope's own :MEASure engine on the live acquisition | fft: spectrum/peaks/THD of the last capture | phase: phase & delay channel->channel2 on the last capture | list: available measurement names | |
| include_spectrum | No | fft: include a decimated dBV spectrum |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||