LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple X Control

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.

0 Kudos
Message 1 of 7
(4,606 Views)

Yes, and your Xcontrol is rather simple.

 

Sorry, cant draft a code right now...

________________________________________________________________________
"When I need the side of a building to view all the code..." -Mark Yedinak
"...when you need a navigation window to view the navigation window..." -Jeff Bohrer
0 Kudos
Message 2 of 7
(4,599 Views)

I'm after example code so I can start learning how to use xcontrols.

 

Thanks.

0 Kudos
Message 3 of 7
(4,582 Views)

In LabVIEW, go to Help->Find Examples... and perform a search for XControls.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 7
(4,580 Views)

What you are hoping to do is definitely possible. I found an example for you that walks through how to create an XControl.


Message 5 of 7
(4,556 Views)

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

Antoine Chalons

Message 6 of 7
(4,551 Views)

I wrote a quick Simple Xcontrol with the function that you asked. Try NI examples and write some.

Anand kumar SP
Senior Project Engineer
Soliton Technologies Pvt Ltd
Message 7 of 7
(4,528 Views)