LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search array for a value and find the two points above and below

I would like to plot the below values and then for example if i specify 0.5 it should give me the value .4 18.7 and .6 18.5..how do i find these two values..

0    19.3
0.11    19
0.2    18.9
0.4    18.7
0.6    18.5
0.81    18.4
1.63    18.2
3.27    15.93
3.93    8.14
4.09    0.1

0 Kudos
Message 1 of 3
(2,507 Views)
Hi KenLabView,
you can use the "Threshold 1D Array" function and round the result to the next lower integer. See the attached example.
Hope this is what you need.
 
Mike
0 Kudos
Message 2 of 3
(2,495 Views)
Thank you very much for your great help..Thats exactly what i needed..
0 Kudos
Message 3 of 3
(2,478 Views)