11-10-2005 02:14 AM
11-10-2005 02:39 AM
11-10-2005 03:08 AM
11-10-2005 03:19 AM
Just have a look at this simple example. Instead of using the "Run VI" method, you could also use the "Call By Reference Node" function.
As you can see in called.vi, the boolean indicator is light, if it is started manually.
11-10-2005 05:43 AM
In order to use the 'Call By Reference Node' you need to have the exact terminal structure of the called VI in advance, which is definitely not a robust option.
In addition, if you want a certain "Caller" to operate on various VI types, you would have to create an exhaustive selector, and it would always be limited only to the set of terminal structures you have hard-coded into it.
There are plenty of other good reasons for using the 'Run VI' method, and I am certainly not willing to give it up.
11-10-2005 06:05 AM