FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel with maximum value in a time window

I would like to create a channel that results in the maximum value of another channel in the previous N seconds or, alternatively, the previous X samples. Does somebody know how can I do this?

Thank you

0 Kudos
Message 1 of 2
(1,336 Views)

You would need to create a custom plugin (using LabVIEW and the PDK https://www.ni.com/pdf/manuals/378089b.pdf). I attached a helper VI that will make it easier to combine multiple waveforms and return a concatenated one that spans the desired time (you will need to add a Waveform data type to your class's internal data to keep track of this info in your plugin). Here is a sample of how it might look in your Process.vi:

Brad_0-1642522308306.png

Hope this helps and let me know if you need help creating the plugin.

Thanks,

Brad

0 Kudos
Message 2 of 2
(1,310 Views)