We can use the
Pause VI Method to programmatically pause a LabVIEW VI using another VI. Refer below steps on how to use the Pause VI Method:
- Before you start, please enable VI Scripting in your LabVIEW so that you are able to access the method.
- After enabling VI Scripting, create a VI Server Reference for the target VI that you want to pause.
- Right-click the VI Server Reference and create a Pause VI Method as shown below.

*
Notes : The method can be used to pause and unpause a VI. However, the VI will not be able to be unpaused if it uses it's own VI Server Reference to pause itself. Please use this method to refer other VI target that you wish to pause programmatically. 4. Below shows an example to use this method with a while loop. The program will detect whether a VI is already paused following with pause and unpause action according to the user sets it.