Expand description
NDPluginAttrPlot: caches numeric NDArray attribute values over an acquisition and exposes selected ones as waveform records.
Port of ADCore NDPluginAttrPlot. The C++ model separates two counts:
n_attributes— the maximum number of tracked numeric attributes. Attribute names are discovered from the first frame of an acquisition (and re-discovered after a reset), sorted, and capped ton_attributes. One circular buffer per tracked attribute.n_data_blocks— the number of waveform outputs (asyn addresses). Each data block has an independentDataSelectvalue that maps it to a tracked attribute index, or to the special UID buffer (-1), or to nothing (-2).
DataLabel is the human-readable name of the attribute a block is bound
to; NPts is the current number of cached points. The waveform emitted
for a block is padded out to cache_size with the last valid point to
avoid plot artifacts (C++ callback_data).
Structs§
- Attr
Plot Processor - Processor that tracks attribute values over time in circular buffers.
Constants§
- ATTRPLOT_
NONE_ INDEX DataSelectvalue meaning “this block plots nothing”.- ATTRPLOT_
NONE_ LABEL DataLabeltext for an unbound block.- ATTRPLOT_
UID_ INDEX DataSelectvalue meaning “this block plots the UID buffer”.- ATTRPLOT_
UID_ LABEL DataLabeltext for the UID buffer.