Capture IQ to a file
sdr_capture_iqCapture raw IQ samples to a file, return the file path and level statistics. Suitable for GNU Radio and sdr_transmit_iq, with interleaved little-endian int16 format.
Instructions
Capture raw IQ samples and WRITE THEM TO A FILE, returning the path plus level statistics. Samples are never returned inline - even a short capture is megabytes. The file is interleaved little-endian int16 (I,Q,I,Q,...), which GNU Radio reads as a file source of type short, and which sdr_transmit_iq accepts directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | Samples per channel | |
| filename | No | Name within the capture directory | |
| channel_pair | No | 0 or 1 | |
| response_format | No | markdown for reading, json for structured output | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |