LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find which property caused a display state change in an XControl

I have created an XControl that has several custom properties and want to handle changes to the various properties differently from one another.  How do I determine which property caused the Display State Change event to fire in the Fascade VI?
0 Kudos
Message 1 of 3
(3,056 Views)
What you could do is add a string field to the state ability. In every property you write some identifier string to this field. In the facade VI you can easily read it out.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
(3,033 Views)

I have just tried it. Using strings occurred to slow the XControl beyond belief.

I have changed the strings to Enum.

Now performance is still disastrous, but definitely 5 to 10 times less slow, I still do not know if the only reason is the additional Control ID property.

0 Kudos
Message 3 of 3
(1,982 Views)