DataCounter¶
Counts data passing through the node in a given stream, and prints a log message every n seconds (configurable) with the number of samples received (along the time axis), since last check as well as total so far.
This information is also output in a separate port in the form of a dictionary. Counts signal streams with time axes only. Optionally updates a popup window with this information. Version 0.2.1
Ports/Properties¶
data¶
Data to process.
stream_names¶
The stream(s) for which to count the data packets passing through. If empty, counts data for all signal streams. (Event streams are ignored.)
notification_interval¶
Interval, in seconds, at which a log message is printed and the counter window updated (if popup_window is True).
popup_window¶
Pop up and update a counter in a window. If false, only log messages will be printed.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.