LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of String to Ring type conversions


Hi Ben,
                  What is my Application is,

                            There are 5 trays.Each tray contains 33 pockets.Each pocket has item no(Ring Control) & quantity(Numeric Control). I have assigned each pocket as cluster. Also i have assigned Each tray as a cluster.Now each tray is cluster of 33 clusters.Then i make 4 copy of that tray...So totally am having Array of cluster of 33 cluster......Now am in need of to get the items from ini file and load into all item no..

0 Kudos
Message 11 of 18
(1,503 Views)
hi andrey

               
                  i ve sent my FP screenshot.Like that am having 6 trays..Now i have to update the same string arry to all rings
0 Kudos
Message 12 of 18
(1,499 Views)

OK,

Next question:

Do the strings that get loaded into the rings change every time the application runs?

How often do the the set of strings change?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 13 of 18
(1,499 Views)
at the initial stage of execution.....

0 Kudos
Message 14 of 18
(1,495 Views)

Continuing...

So the strings used today may be different that what will be used tomorow?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 15 of 18
(1,485 Views)
Ya i think you got it...


0 Kudos
Message 16 of 18
(1,482 Views)

Well with that...

Yes using the above as a sub-VI will let you define the strings for all of the rings.

Since your rings are in clusters, you should be able to start with a ref to the cluster, get the ref's to all of the controls in the clusters, and for each ref that is a ring, apply the sub-VI.

I was really hoping I could give you a better solution... but wait....

This appraoch is not trivial but may help.

If you have a launcher that first reads the list of strings, opens a type-def'd enum (that is not part of the launcer architeture), and then write the strings property and then saves and closes the enum, then the main app can be opened and find all of the new values. That way you don't have to code up the ring updates in the main app and when new rings (enums) are added latter they will automatically get the new values.

Done for now! Have fun!

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 17 of 18
(1,472 Views)
k ben thank you so much.......i ll try it

0 Kudos
Message 18 of 18
(1,445 Views)