01-17-2022 02:03 PM
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
01-18-2022 10:14 AM
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:
Hope this helps and let me know if you need help creating the plugin.
Thanks,
Brad