LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Programatically create the controls in Front panel?

hello NI,

                 is there any possiblilites, to programatically create the controls in front panel?  let say i neet 5 text controls, can i create the controls in front panel with out drag and drop from controls pallete?

 

 

Regards,
Balaji DP
0 Kudos
Message 1 of 3
(2,372 Views)

Hi Balaji DP,

it´s not possible in that way. You can create the controls first and hide them, show only the controls you need. You can use a picture control to draw the controls you need. In this case you need minimum one of the controls which you want to draw. What you mean is called scripting and is not supported by NI. Can you explain what you need, i´m sure there is a solution for you without using scripting.

 

Hope it helps.

Mike

Message 2 of 3
(2,365 Views)

 If you need five similar text controls, you can get one, and then ctrl-drag it to create more. No need to go back to the palette.

 

Sometimes a better solution to 5 string controls would be a size=5 array of string controls.

 

If you have LabVIEW 8.6, you might speed up your operations using the new quick-drop feature.

 

If you are really adventureous, there's also the currenty unsupported scripting functionality.

Message 3 of 3
(2,362 Views)