capture_waveform
Capture waveform data from a specified channel, convert samples to volts, and return either the data or a CSV file path for large datasets.
Instructions
Capture waveform data and return it converted to volts (V).
When there are many points the data is written to a CSV file and its path is returned in data_file. Screen data may be decimated, so read the effective sample rate as the reciprocal of sample_interval_s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| max_points | No |