capture
Record selected digital channels, persist by ID, and return per-channel edge, pulse-width, and frequency statistics—not raw samples. Use a short window first.
Instructions
Capture digital channels and persist them under a capture_id. Returns per-channel statistics (edges, pulse widths, rough frequency), never the raw sample array. Prefer a short window first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| device | No | ||
| backend | No | ||
| trigger | No | ||
| channels | Yes | ||
| duration_s | Yes | ||
| sample_rate_hz | Yes |