You can control these things using property nodes. The first thing to read is Chapter 17 "Programmatically Controlling VIs" of the LV user manual. Second, search the help for "properties". You will find a bunch of shipping examples on how properties can be used.