09-18-2013 02:02 AM
I tried this but what is the problem is when i use this is for loop then for all the rows it is showing last writeen string for all. Here what I tried
09-18-2013 03:29 AM
New try. 🙂
/Y
09-18-2013 04:05 AM
Dear Yemeda,
This is what I was looking for but only problem while loop. This will create a problem in my VI as I am doing plenty of things hence to stop the while loop how will I mangage. What will be best is once written into it, untill it writes next time it needs to be retain old values,free from whie loop and it should be doing other things also.
09-18-2013 04:05 AM
Sorry for being greedy
09-18-2013 04:11 AM
@Ranjeet_Singh wrote:
Dear Yemeda,
This is what I was looking for but only problem while loop. This will create a problem in my VI as I am doing plenty of things hence to stop the while loop how will I mangage. What will be best is once written into it, untill it writes next time it needs to be retain old values,free from whie loop and it should be doing other things also.
Well, as i dont know what you're doing in your vi i cant really suggest alot, except that i assume you have a loop and maybe a state machine in there somewhere? I'm sure you'll find a good place to place the event structure or place it in a parallell loop.
/Y
09-18-2013 05:50 AM
See this paralled is bad option as I want to do this after that command sent and received. This is demo of my code
09-18-2013 05:51 AM
Let me see what R&D I can do.
09-18-2013 06:37 AM
Just add a couple of events to my suggested code, e.g. Barcode value change. Set the Listbox to disables and greyed out until the barcode is read. When job is finished, generate a user event to save data.
Then you'll basically have an event driven state machine. 🙂
/Y
09-19-2013 07:11 AM
Thanks yameda, It is working basically. But it actually there are lots of thing involved apart from this. Thanks for your time and suggestion. One problem is total number of active rows cannot be read.