lvb Posted December 10, 2008 Report Share Posted December 10, 2008 I have been working on creating a VI that I can place in the startup folder of a computer. I would like this VI to launch a specific LabVIEW project and the main VI. Attached is the block diagram that will properly launch the project, but I am having issues launching an instance of the main vi that resides within the project. If I use a "static VI reference", when opened, the main VI is not in the namespace of the project (the VI's active project is null). This behavior is similar to opening the VI from windows explorer. I would like the main VI to launch as if I opened it from the NI project explorer for the specified project. This would result in the VI's namespace/active project valid. Any hints? I have attached my current block diagram below: Quote Link to comment
LAVA 1.0 Content Posted December 10, 2008 Report Share Posted December 10, 2008 You should use the following application context to open the VI: .Ton Quote Link to comment
lvb Posted December 10, 2008 Author Report Share Posted December 10, 2008 QUOTE (Ton @ Dec 9 2008, 10:24 AM) You should use the following application context to open the VI: http://lavag.org/old_files/monthly_12_2008/post-2399-1228836263.png' target="_blank">.Ton Looks great, but how can I obtain that property node? Quote Link to comment
LAVA 1.0 Content Posted December 10, 2008 Report Share Posted December 10, 2008 If you enable Scripting you get the blue property nodes. Ton Quote Link to comment
LAVA 1.0 Content Posted December 11, 2008 Report Share Posted December 11, 2008 Here's an example without scripting: Ton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.