LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to search array with margins?

Solved!
Go to solution

There we go 🙂

 

prnt.JPG

0 Kudos
Message 11 of 14
(737 Views)

WOW are you quick hehe..

 

- First, the reason of the sequence-structure was because i had another solution before and was to lazy to change it right now:)

 

- I've attached a file that seems to work. but doesn't work on the real floating data.

 

     Can this be because i have no points that reach the aquirements? i really have no idea

0 Kudos
Message 12 of 14
(733 Views)
Solution
Accepted by topic author Firas_M

Hi Firas,

 

your example VI gives a result of  "7", which is the difference of your "peaks" before and after maximum...

 

See attachment for some changes and some more indicators for checking of the algorithm!

Best regards,
GerdW


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

I've been dealing with tis problem for a while now and realized today that i've done som wrong calculations. The test bw seearch VI you've improved made me realize this. It now works!!

 

Thanks alot for your incredible help and your time!

0 Kudos
Message 14 of 14
(714 Views)