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
- last edited on
08-21-2025
12:47 PM
by
Content Cleaner
You would need to create a custom plugin (using LabVIEW and the PDK https://www.ni.com/docs/en-US/bundle/flexlogger-plug-in-development-kit/page/user-manual-welcome.htm...). 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
These cookies are necessary for the website to function and cannot be disabled in our systems. These cookies are usually set only when you complete an action online, such as setting your privacy preferences, logging in, or filling in forms. You can set your browser to block or alert you about these cookies, but then some parts of the site may not work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so that we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies, we will not know when you have visited our site and cannot monitor its performance.
These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third-party providers whose services we use on our pages. If you do not allow these cookies, some or all of these services may not function properly.
These cookies may be set through our site by our advertising partners and social media services. They may be used by those companies to build a profile of your interests and show you relevant advertising on other sites. They do not store directly personal information but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.