measure
Compute analog and digital channel metrics—including RMS, frequency, duty cycle, pulse width, and edge counts—over a chosen time window from a Logic capture.
Instructions
Measure one channel over a time window.
Analog: min/max/mean/RMS/AC-RMS, peak-to-peak, frequency, period, duty cycle, rise/fall (10-90%). Digital: edge counts, frequency, duty cycle, min/max pulse width.
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": {
"capture_id": "<capture_id>",
"channel": "<channel>"
},
"name": "measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop_s | No | Window end, seconds. Omit for capture end. | |
| channel | Yes | Channel name as shown in the capture summary. | |
| start_s | No | Window start, seconds. Omit for capture start. | |
| capture_id | Yes | Capture id from a capture call or list_captures. |