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).
