LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox ActiveRow display

Solved!
Go to solution

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

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 11 of 19
(1,523 Views)
Solution
Accepted by topic author Ranjeet_Singh

New try. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 19
(1,506 Views)

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.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 13 of 19
(1,501 Views)

Sorry for being greedy Smiley Very Happy Smiley Very Happy Smiley Very Happy

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 14 of 19
(1,500 Views)

@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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 19
(1,497 Views)

See this paralled is bad option as I want to do this after that command sent and received. This is demo of my code

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 16 of 19
(1,487 Views)

Let me see what R&D I can do.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 17 of 19
(1,486 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 18 of 19
(1,473 Views)

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.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 19 of 19
(1,446 Views)