Export waveform to a file
export_waveformFetch a full oscilloscope channel trace and save it to disk as CSV, NPY, or BIN for archival without downsampling. Use for complete waveform records, not short chat previews.
Instructions
Fetch a channel trace and write the full record (no downsample) to disk.
CSV columns: t_s, v. Use this for archives; scope_capture_waveform is for a short preview in the chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | Override format inferred from the path suffix | |
| path | Yes | Destination file (.csv, .npy, or .bin) | |
| channel | No | ||
| dialect | No | ||
| resource | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | Yes | ||
| v | Yes | ||
| vpp | Yes | ||
| dt_s | Yes | ||
| path | No | ||
| t0_s | Yes | ||
| vmax | Yes | ||
| vmin | Yes | ||
| notes | No | ||
| vmean | Yes | ||
| scaled | No | ||
| channel | Yes | ||
| dialect | Yes | ||
| units_t | No | s | |
| units_v | No | V | |
| resource | Yes | ||
| n_samples_raw | Yes | ||
| n_samples_returned | Yes |