03-25-2011 01:49 PM
I would like to have LabVIEW open and run the VI when I open the second VI (number 2) from VI (number 1). I set the appropriate Execution options in File»VI Properties to make both VI run when opened but it works only for the first vi and when I open 2.vi from another 1.vi the second vi will open but not run.Would u plz let me know how can I make the second vi run when I open it using FP.Open.
03-25-2011 02:14 PM
Hi en99,
i do not understand what you try in your picture, but you never call the RUN method. Can you please explain what you try to do?
Mike
03-25-2011 02:21 PM
Hi Mike
By clicking on the OK button in 1.vi I would like to close 1.vi and open and run 2.vi at the same time.It works perfect and I can close 1 and open 2 but as I said I would like 2.vi be in run mode because I don'w want to click on run icon to run 2.vi.I hope this comment be useful
03-25-2011 07:25 PM
plz let me know if I need to provide more information
03-26-2011 01:31 AM
There are several ways to start VI 2.
- use a invoke node of VI 2 which says : "run when opened"
- edit the VI properties of VI2 en set "run when opened" to TRUE
See attachment