LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to create user defined control in labview

in .net we can create user defined contol in which i can put more then one control and,, can use it as single control when needed,, but,, how this possible in labview,,
 
actually in my program i have a tab control and,, in that tab control there are 8 pages,, now there are 5 different kind option selection for each page lets say "a" "b" "c" "d" "e",,,,,.,. so,, when i select "a" configuration for tabpage 1 should show.. "a"(control collection)  on tabpage1....and,, same should b possible for all 8 pages............................. this can possible if its possible to create user defined contorl in labview
 
 
while in .net its very easy task i m confused here,..,.
 
i put these controls in another 5 different  VI,,,, and tried to call in subpanel but,, i dont find the solution,,,Smiley Sad
 
0 Kudos
Message 1 of 4
(2,919 Views)
Hi,

I've tried to open you attachment but LabVIEW tells me it's not a vi... could you check it and repost please ?

I'm not really sure of what you need but you CAN customize you control in LabVIEW, it is not hard, you just have to know how it works 😉
Sometimes being good at another programation language confuse you more than it helps because you try to do as you are used to... the difficulty it to "translate" functions from a language to another.
I do know how frustrating it can be when you think "Damned, it would take me only 5 minutes to do that with language a and after 10 hours with language b it is still not working Smiley Mad"

You have to get in LabVIEW way of thinking, I wish you good luck Smiley Wink !

A quick exemple... this might not do exactly what you need but it may help you anyway.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 4
(2,912 Views)
Hi, mini_vyas.

TiTou made some good points, but I just thought I'd add my two cents. In general you can customize a control by right-clicking on it and selecting Advanced>>Customize. Depending on exactly what kind of functionality you're looking for, it might also be helpful to create more than one control and then turn the visibilty on and off so only one of them is shown at a time. (You can set visability using a property node. For more information on property nodes, check out the LabVIEW 8 help file.)

Good luck!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 3 of 4
(2,893 Views)
Try to attach your VI again so we can get a better idea on what you want. I am a bit confused by your description.
 
Anyway, of you want a control that contains other controls, just place all the controls in a cluster container.
 
If you have LabVIEW 8.0, you can create an Xcontrol, basically a custom control on steroids. It can contain any number of controls and indicators and all the logic to define the desired behavior. Have a look at the following link:
 
 
0 Kudos
Message 4 of 4
(2,890 Views)