LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do comparison operation in same column

Solved!
Go to solution

HELLO,

here in attach vi I want to do comparison operation of 3rd column.

I tried with various way but I didn't get desire result.

Please guide me how to compare the 3rd column's current value with previous all measured value.

I want to compare current value with previous value and if current value is less then the any of previous values then LED should be OFF.

 

Thank you very much.

0 Kudos
Message 1 of 4
(2,592 Views)

do you need to compare the 3rd column's current value with 3rd column's previous values only or you need to compare that value with every column's previous value.

 

below attached is the snippet in which you can compare within column the current value with previous one, see if it helps.

Message 2 of 4
(2,550 Views)
Solution
Accepted by topic author AnkitRamani

Same basic idea, but less code ...

 

New Bitmap Image.png

Message 3 of 4
(2,539 Views)

Thank you very much for help.

 

In suggestion provided by Ritu, I have confusion  that where I have to indicate index number for column which I want to compare.

But currently suggestion provided by Don working good.

Any ways thank you very much for time and suggestion.

0 Kudos
Message 4 of 4
(2,508 Views)