06-16-2008 01:37 PM
06-16-2008 01:40 PM
06-16-2008 01:41 PM
06-16-2008 04:38 PM
06-16-2008 05:02 PM
06-16-2008 07:01 PM
Since the VI now exists, it is probably easier to wire the False constant to "Wait Until Done" input, as smercurio mentionned.
RayR
06-16-2008 07:39 PM
"You can dynamically load VIs instead of using statically linked subVI calls. A statically linked subVI is one you place directly on the block diagram of a caller VI. It loads at the same time the caller VI loads.and:
Unlike statically linked subVIs, dynamically loaded VIs do not load until the caller VI loads them with the Open VI Reference. If you have a large caller VI, you can save load time and memory by dynamically loading the VI because the VI does not load until the caller VI needs it, and you can release it from memory after the operation completes. You also can use the VI Call Configuration dialog box to configure when to load the subVI."
"Create a strictly typed VI reference to dynamically call a VI using the Call by Reference Node. The strictly typed VI refnum identifies the connector pane of the VI you are calling."It seems that the advantage of dynamically calling a VI you can call DIFFERENT VI's with the same function on the block diagram as long as both are strictly typed to have the same connector pane. So say you have a VI that has a voltage input and a time input and calculates the rate of voltage change, could be replaced by a VI that takes the same inputs, but does something else with the data. And both VI's could be called by the same function depending of the reference passed to "Call by Reference."
06-16-2008 09:24 PM - edited 06-16-2008 09:25 PM
You're right about the definition.
It would not be necessary to use a call by reference node if all you want is to open a vi from within a running vi.
You could open a reference and use the invoke node.. as shown below.
RayR
06-16-2008 09:43 PM
06-17-2008 01:06 AM
Thanks to all for helping me. I am able to start and stop my sound generating VI as I needed it to be.
Thanks once again.
Ankit