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