02-05-2006 05:26 PM
02-05-2006 07:26 PM
02-05-2006 09:29 PM
I reworked the Sub VI call so it was happening through a Call By Reference. It forwarded the error as desired. I also read the help section on both. But I am still not seeing what the difference is between the two.
I see the Call by refeerence will pass the error but do not understand why an invoke node VI Run Method does not pass the error especially since it has the error in and error out terminals.
02-05-2006 09:35 PM
I went back and added a Type Specifier to the Invoke Node RUN VI method and once I did that it started passing the error though.
What is the signifigance of the type specifier when the invoke Node is used to Run VIs? I ask this because the Invoke node will
Run the VI without the Type Specifier being linked to teh terminal input.
Thanks in advacne
Tim C.
02-05-2006 11:20 PM
Hi Tim,
Generally you use the Run VI method when you want to launch a VI separately from the main app, like if you wish to pop up a VI as a dialog for getting information from the user, or if you want to run a VI in the background while your main app is running. You would use Call By Reference to dynamically call a VI as a subVI...Call By Reference is used when you want access to a VI's connector pane as if you were calling it as a subVI, but you don't want the static link to the subVI in your main VI. An example of this would be a plug-in architecture, where you have several subVIs with the same connector pane, and you might want to call a particular one based on some specific case in your code.
Hope this helps,
-D