Read Stream
read_streamReads current data from running session sink blocks (scope, spectrum, scalar, waterfall, XY), returning per-channel statistics, peaks, or raw payloads.
Instructions
Read the latest data from Studio sink blocks (scope, spectrum, scalar, waterfall, XY) of a running session.
stream: stream id, which is the sink block's name (default: every stream in the session). By default each stream is summarized: per-channel min/max/mean/rms/std, a dominant period in samples for time series (frequency = sample_rate / period), the strongest peaks for spectra, and at most max_points downsampled values. raw=True returns the full payload of a single stream instead (can be very large).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| stream | No | ||
| max_points | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||