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")
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. |