05-02-2014 07:47 AM
hello,
i am looking for the logic to go to the next row if data are matched.
for example when i run vi it will take first row and in first row data of the column 3 and 4 are compared with the data which is enterd by user.
if data matched then next row will come and same operation will going on.
here in attachment i have attached vi in which i tried to compare the coulum 3 and 4 with the manualy enter data.
could any one please suggest that how can i do so??
thank you very much in advance.
05-02-2014 09:08 AM
What do you do if they don't match?
Do you really just want to keep reading the file? Are you waiting for the file to change?
How do you know when you are done looking for matches?
05-05-2014 02:35 AM
Thank you very much for reply.
I am doing this operation for my robot.
its go forward until the X and y match.
if they are not match then its continew to go forward.
thats operation I want to perform.
thank you very much for your time and help.
05-05-2014 04:54 AM
hi,
i think you can do it easily with some little changes on your vi.
1. Put all items left from the "read from spreadsheed file" outside the loop. Including the "read from spreadsheed file" vi
2. Take the loopiteration and replace it with the "index (row)" element
3. You can check the funktion of your vi if you place a timing in the loop
So was this helpfully about your question?
regards hofstk