LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to delete intermediary elements of an array

Solved!
Go to solution

Hi gstathatos,

 

you have been shown how to sort out elements of oyur array by value.

Now you ask for a way to sort out values by their value and then calculate an average of the remaining array elements.

Don't you think you can make the rest of the needed program on your own? All is already shown to you!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 14
(433 Views)

I am trying to solve this more than 2 days  and stil haven't solve it that's why i asked for help,probably something i am doing wrong.I am sorry if i am asking a lot but I've tried many things and I have pull the desired result.

0 Kudos
Message 12 of 14
(430 Views)

Hi gstathatos,

 

PAnand already gave you a good example. I only toggled just one bit:

check.png

As explained before:

- sort the values into separate arrays for your "high" peaks and "low" values

- calc the average for each subset

 

Everything has been shown to you before!

 

Btw. both of you have problems to spell my name. It's just 5 chars...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 14
(425 Views)

Hello to everyone,

 

In the start of this subject a picture of a signal was given.My question is how can i calculate how many peaks i have in this signal?Is this possible?Please provide a suggestion code if you can.

0 Kudos
Message 14 of 14
(402 Views)