LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create control dynamically

Hello ,


I am studying LV 8.0. The question is that need to dynamically create a control such as a graph , a numeric control on the front panel, and then drag or zoom it , I know in cvi there is a NewControl() can do this , but if LV could realize the behavior ?


David
0 Kudos
Message 1 of 2
(2,613 Views)
Hi.
I would say there is no way to do this.
 
BUT    and there is always a but.
Way one:
Put all the controls you may need on the front panel and change the visibility.
 
Way two:
make a VI with the requested instrument type in it.
Copy it with another name at runtime.
Load the new (cloned) VI. Reference it and display it in a subwindow on your
frontpanel.
 
Remark:
DONT do this in a embedded enviorment with flash discs.
 
With kind regards
 
    Martin
With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
0 Kudos
Message 2 of 2
(2,589 Views)