Create Class Control Using VI Scripting

Updated Apr 10, 2026

Reported In

Software

  • LabVIEW

Issue Details

Refer New VI Object Location Argument.vi example in LabVIEW, it able to programmatically generate new string control in front panel. Can I generate class control or other type of control in front panel?

Solution

You can change the style input for the New VI Object.vi to other control. For example if you change to Stop Button, then a Stop button will generated in the selected VI front panel.

If you require generate class control, you will require to input the path of the class directly as shown in below image (refer the red box). When you provide path input for New VI Object.vi, it will ignore the input in the style (the pink box).