12-08-2009 07:42 PM
12-08-2009 09:47 PM
If I were making a list of hard-and-fast rules in LabVIEW, high on the list would be the following:
All elements of an array must share the same properties
In a case like this I would typically consider using a cluster of clusters instead of an array of clusters. You lose a little flexibility in that the number of elements is fixed, but that is often not a problem. You can still use Cluster to Array and Array to Cluster to make your programming life a little easier. Use arrays to do the work and the cluster for your UI.
12-09-2009 01:53 AM
Hi Joe,
There is a way for you to change the color or disable a control programmatically, but like Darin said, you wouldn't be able to do this per element through an array. I urge you to go with his recommendation of using a cluster of clusters.
With regards to the necessary programming, a property node should do the job.
Best Regards,
Joshua de la Llana
Applications Engineer
NI ASEAN
12-09-2009 05:19 AM
One of the standard ways to deal with that problem is to use a color box or picture ring as part of the cluster. Arrange the color box to be in the back of the other indicators. Then handle the color of the color box as normal data (by-val as opposed to the by-ref of the properties).
Felix