LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with comparing (excel related)

Solved!
Go to solution

Problem: Basically all the vi does is grab values from excel and compare it with a pre-determined value and if the returned value is greater than or equal the vi stops and returns the cell which gave it thar value. I think it may that I am telling excel to compare a string value to a decimal value but I have tried that and it seems to stop instantly with a value which is cleary wrong.

 

I have attached the vi and  sample excel file which it searchs through

 

Download All
0 Kudos
Message 1 of 4
(2,692 Views)
Solution
Accepted by topic author MrSafe

Don't see a problem. Start at A4 and it stops on the first iteration as it should (because the cell is blank it converts to a 0 which is greater than -30). Starting at A5 it steps down to A368, again just as it should.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 4
(2,673 Views)
Did you do anything to the vi to get that result? for me the result is ALWAYS A5 which is incorrect.
0 Kudos
Message 3 of 4
(2,654 Views)
I managed to get it to work. I am not even sure how because I didn't do anything.  But it works now, thanks!
Message Edited by MrSafe on 02-10-2009 12:51 PM
0 Kudos
Message 4 of 4
(2,650 Views)