03-29-2023 09:40 AM
I have a graph in the oscilloscope and I want to take the average peak from the 40 samples. I want to do this 10 times therefore the result should display 10 peaks which is the average of 40 samples. Here are multiple codes I worked on to achieve this but it hasn't been working as I want. Pic 1 is before average, to see if I can differentiate with peaks and display it right. Pic 2 is with average still not working, pic 3 is another way that I was implementing to differentiate the peaks instead of using case structure. thanks for the help.
also the DEQ assistant, I put 40 as the number of samples but never specify that it is 10 times. when put it in for loop it doesn't work either. I am also confused on that.
03-29-2023 10:12 AM - edited 03-29-2023 10:19 AM
Hi sorry, I think I forgot to save it before submitting so the pictures disappeared. here they are. (UPDATE: I updated the pic 3 underneath, sorry for inconvenience.)
03-29-2023 10:16 AM
Hi sorry, I think I forgot to save it before submitting so the pictures disappeared. here they are
03-29-2023
01:47 PM
- last edited on
04-12-2023
02:56 PM
by
NI_Community_Su
Hi melisa,
You are using a lot of ExpressVIs and DDT wires. (IMHO way too much…)
One reason we mostly don't like (images of) ExpressVIs: they hide a lot of information behind configuration dialogs! So we cannot judge your code from looking at images of code…