scope_capture
Capture oscilloscope waveforms and export data as CSV or summary. Use single or preview operations to acquire samples at specified rates and counts.
Instructions
Acquire waveforms and export capture data.
Return Format
{"success": bool, "operation": str, "data": {...}}
Examples
scope_capture(operation="single", sample_rate_hz=100000, sample_count=4000)
scope_capture(operation="export_csv")
scope_capture(operation="preview")
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_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range_v | No | Voltage range for capture channel. | |
| filename | No | Optional export filename stem. | |
| operation | Yes | Capture operation. | |
| channel_id | No | Primary channel for single-channel capture. | A |
| sample_count | No | Number of samples to acquire. | |
| sample_rate_hz | No | Sample rate in Hz. |