annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Listbox ActiveRow display

Résolu !
Accéder à la 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 Compliments
Message 11 sur 19
1 780 Visites
Solution
Accepté par l'auteur du sujet Ranjeet_Singh

New try. 🙂

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Compliments
Message 12 sur 19
1 763 Visites

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 Compliments
Message 13 sur 19
1 758 Visites

Sorry for being greedy Smiley très heureux Smiley très heureux Smiley très heureux

--------------------------------------------------------------------------------------------------------
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 Compliments
Message 14 sur 19
1 757 Visites

@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 Compliments
Message 15 sur 19
1 754 Visites

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 Compliments
Message 16 sur 19
1 744 Visites

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 Compliments
Message 17 sur 19
1 743 Visites

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 sur 19
1 730 Visites

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 Compliments
Message 19 sur 19
1 703 Visites