LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Creating Controls

I have figured out how to programmatically modify controls, but do not know
how to programmatically create controls. I am using Labview 6i. Any
suggestions?

Thanks,

Peter
0 Kudos
Message 1 of 4
(3,410 Views)
You cannot programmatically create a new LabVIEW control on the front panel
of a VI.

The best you can do is to programmatically open references to templates VIs
and Controls files (*.vit,*.ctt) and let the user interact with them. New
VIs and controls are created
in memory when you open references to templates.

Jean-Pierre Drolet
Scientech R&D



"Peter T" a écrit dans le message news:
3b0ac9d0@newsgroups....
> I have figured out how to programmatically modify controls, but do not
know
> how to programmatically create controls. I am using Labview 6i. Any
> suggestions?
>
> Thanks,
>
> Peter
>
>


LabVIEW, C'est LabVIEW

Message 2 of 4
(3,410 Views)
Depending on what you need, you can create an array of buttons and make them appear and disappear from the front panel.
Hope this helps
0 Kudos
Message 3 of 4
(3,410 Views)
Peter,

One option is to create the controls but set the visible attribute to false. You can create a property node for each one and set the visible attribute to true programatically, making them appear when you want.

pat
0 Kudos
Message 4 of 4
(3,410 Views)