07-17-2012 07:38 AM
Cluster containing:
1. Radio button with 2 selectors
2. Two (2) numeric controls
Radio selection 1 -> Numeric control 1 enabled, Numeric control 2 disabled and grayed.
Radio selection 2 -> Numeric control 2 enabled, Numeric control 1 disabled and grayed.
Is there a way of building a control (i.e. xcontrol) with this simple inbuilt functionality? Do not want to code properties in subVI of main VI.
Thanks.
07-17-2012 09:33 AM
Yes, and your Xcontrol is rather simple.
Sorry, cant draft a code right now...
07-17-2012 02:21 PM
I'm after example code so I can start learning how to use xcontrols.
Thanks.
07-17-2012 02:23 PM
In LabVIEW, go to Help->Find Examples... and perform a search for XControls.
07-18-2012 12:09 PM
What you are hoping to do is definitely possible. I found an example for you that walks through how to create an XControl.
07-18-2012 12:29 PM - edited 07-18-2012 12:30 PM
I'm sharing some XControls on GitHub, feel free to use. https://github.com/AntoineChalons/XControls
And here's a place we can discuss about my examples if you are interested : http://lavag.org/topic/14432-iphone-like-password-string-xcontrol/
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
07-19-2012 04:33 AM
I wrote a quick Simple Xcontrol with the function that you asked. Try NI examples and write some.