Search the Community
Showing results for tags 'dynamic launching'.
-
Hi all, I am trying to launch a vi dynamically inside RT. But I am unable to do it. It either throws up error 100 (VI not in compatible state for this operation) or just I get disconnected from the RT. I am not sure about the problem and I need help in this. How do I launch a VI dynamically inside RT. All its dependencies are downloaded to RT. The VIs I am trying to launch is a member of a class. VIs property is set to be modal. (I want it to be front most when it gets launcheed. We are using LabVIEW Embedded UI for monitoring purposes). I am able to get the reference of the VI porperly. The error occurs in invoke node which tries to run the VI. Should the VI be reentrant for launching(a hunch of my own-but not sure why it should be)? Thanks in advance for your replies.
-
Hey guys, I've stumbled across a problem when trying to use the "Application path" constant along with the name of a sub-VI to obtain a reference for dynamic launching (using the asynchronous call and forget VI). Putting the Sub-VI in the application folder, or alternatively a special "Sub-VI" folder, then using "Application Path" constant plus the name of the Sub-VI to obtain a reference works fine on a windows PC. When deployed to real-time you get "Error 7", sub-VI not found. So I'm wondering, where exactly does a dynamically launched sub-VI go when it's deployed to real-time, and how do I build a path to it programmatically for the purposes of dynamic launching? Thanks in advance, Alex
- 14 replies
-
- dynamic launching
- real time
-
(and 1 more)
Tagged with: