LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

code wizard

Hi all,

is there a way to programmatically generate VIs from a template VI (a code
wizard)?

Thanks,
Marko
0 Kudos
Message 1 of 3
(2,664 Views)
Marko:

If there was, we'd all be out of business! All kidding aside, Labview is written in a language called "G", which can be manipulated within a C type structure. You might do a web search on "G" language and see what has been done. You might get some hints there. Also, look up GOOP.

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 3
(2,664 Views)
Hello Marko,

Programmatically writing code, or "scripting", is not possible with the current version of LabVIEW. Your only option in the situation you mention would be to create a master VI that includes code for all options, using case structures and such, and programmatically set values using an interactive interface that control which parts of the code execute.

If VI scripting would be extremely beneficial to you, you may want to suggest it to our developers by going to www.ni.com/contact and clicking on "Feedback". This is a great way for our customers to let the LabVIEW developers know what they would like to see in new versions.

I hope this helps!

Liz F
National Instruments
0 Kudos
Message 3 of 3
(2,664 Views)