Depends on how you're opening it. If you open it from the file system it wil do it. If you have it as a subVI on a block diagram and double-click the icon on the block diagram it won't run. In fact, the latter is used as a method to allow you to open a VI that is set to automatically run when open.
In the project specifications did you set the your VI as the startup VI? Do you also have the "Show front panel when called" and "Close afterwards if initially closed" options set in the "Window Appearance" section? I assume your VI has some form of loop that allows it to run continuously once started.
Yes I set the "Show front panel when called" and "Close afterwards if initially closed" and my VI has a while loop, but where can I set the VI as the startup VI?
Your VI is running. The problem is in your logic for the control of the loops. The way it's set up the main loop will stop after one iteration because the default value of the of the "Instrument ON/OFF" control is False. Also, your logic for the control of the two loops is opposite with regards to that control. Thus, in the one loop setting it on stops it. In the other, setting it on allows it to continue.