LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically load and show the front panel of a vi but NOT run it?

Solved!
Go to solution

Is there a way to load and show the front panel of a vi but NOT run it?  I am starting with the AsynchronousCallAndForget.vi from the example finder and inserted an invoke node with the FP Open method call prior to the Start Asynchronous Call node. The vi I am loading has the "Run when opened" unchecked and the menu bar IS visible so I can manually click the run arrow. Thanks!

 

AsynchronousCallAndForget.PNG

 

 

0 Kudos
Message 1 of 3
(3,753 Views)
Solution
Accepted by topic author NI-hilator

Why are you using the Async call? If you simply open the VI reference, then call the FP.Open method this works fine. You can then call the VI run method with Wait Until Done set to false if you wish to run it Asynchronously, this is how we did it in ye olde days before we had this new fangled "Start Asynchronous Call" stuff. Smiley Happy

 

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 2 of 3
(3,738 Views)

Thanks Charles! I thought I had read something saying that the F.Open would run the vi.  I guess I pulled the trigger too early on the post.  Thanks again.

 

0 Kudos
Message 3 of 3
(3,731 Views)