I need something similar.
I need a vi that when I press true signal, it collects data and when release the true or change to false, it gives me the average of data collected and resets the collector for the next true signal....
Thanks in advance
Edit: The point by point VIs are located in the Signal Processing palette.
Sounds like a nested while loop building an array of acquired values that is fed into the MEAN.vi upon leaving the inner while loop.
Your use of the word "collector" hints at express VIs and dynamic data . Please show us some code.
If your signals are scalars, the "mean ptbypt" will be sufficient and there is an input to reset.