06-26-2008 08:14 AM
06-26-2008 08:27 AM
06-26-2008 08:29 AM
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
06-26-2008 08:31 AM
06-26-2008 08:39 AM
Continuing...
So the strings used today may be different that what will be used tomorow?
Ben
06-26-2008 08:42 AM
06-26-2008 08:58 AM
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
06-26-2008 09:56 AM