12-07-2007 07:59 AM
12-07-2007 08:17 AM
If you configure an event that is configured for "value change" for each of the elements in the cluster, the "ctrlref" will tell you which control you were editing.
Ben
12-10-2007 06:57 AM
Dear Ben,
Thanks! The trouble is that it does not seem to work with complex structures (array of clusters of array of clusters of controls).
Another concern - what to do if I do not want to change the value? The idea is that I click on the part of the settings which requires attention and can fire a VI which would take the data from that control, do some calculations and change the value to the appropriate something...
The FOCUS property worked with the limitation that it finds which control inside the cluster is addressed but does not know which element (#) of the array this cluster belongs to.
Thank you for any additional input beforehand!!!
Regards
Albert
12-10-2007 03:29 PM
12-10-2007 05:30 PM - edited 12-10-2007 05:30 PM
Devin wrote
In regards to your question about determining the index even when no change is made, you may find the following knowledgebase article useful:
Returning the Index of a Mouse-Selected Array Element in LabVIEW
Two questions:
Q1) What does the "2" wired to the For loop do? (
Just teasing
)
Q2) That example does not return the correct results if the row is "0"!
Why?
Ben
12-11-2007 09:25 AM
12-11-2007 12:03 PM