From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-18-2014 08:31 AM
Hello!
I managed to find amplitude of the whole signal saved as spreadsheet using Amplitude and Levels.vi. It works great. How can I find amplitude of one part of the signal (let`s say first 10% or 0.0001 seconds)? In a word, how do I set up time limits for that VI?
Thanks for your help.
Solved! Go to Solution.
07-18-2014 08:35 AM
@Ivan899 wrote:
Hello!
I managed to find amplitude of the whole signal saved as spreadsheet using Amplitude and Levels.vi. It works great. How can I find amplitude of one part of the signal (let`s say first 10% or 0.0001 seconds)? In a word, how do I set up time limits for that VI?
Thanks for your help.
What do you mean 10% or 0.0001 seconds, I don't understand. Are you acquiring data at more than 10KHz? If possible please attach the code.
07-18-2014 08:52 AM
Thanks for your quick reply.
I`ve attached VI and two spreadsheets. Initially two waveforms have just noisy components and I need to find out amplitude of this noise for further utilization its value for threshold settings. I want to make threshold dynamic depending on the level of noise amplitude. Currently I am able just to find amplitude of the whole signal including peaks using Amplitude and Levels.vi.
07-18-2014 09:02 AM
Judging by your code you seem to have a good grasp of waveform manipulation. You can use the Get Wfm Subset VI (Waveform palette) or just roll your own subset grabber with the tools in the Array palette. The Get Wfm Subset has the advantage of calculating the time based on the dt.
07-18-2014 09:21 AM
Great! I think this is exactly what I needed. Thank you very much!