08-01-2005 03:22 AM
08-01-2005 08:48 AM
Like you said, the Call by Reference node should be used when you have several VIs with the same connecter pane patterns.
The other way of calling a VI dynamically is feeding its reference into an invoke node and using the Set Control Value method, followed by the Run VI method. You will have to get the names of the controls right, or you will have errors. Look at the help for those methods for more details.
08-01-2005 09:00 PM
Hi,
Thank you for the reply, i am not able to get the clear picture,of the above mentioned approcah by you.
i walked throught the example....only to find VI server/semaphore or ques type.can you guide a lit bit more breifly and send me the path of the example code.
regards
rags
08-01-2005 10:47 PM - edited 08-01-2005 10:47 PM
Message Edited by Ed Dickens on 08-01-2005 10:47 PM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.08-01-2005 11:31 PM
08-02-2005 09:29 PM
08-03-2005 03:50 AM
08-03-2005 07:40 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.01-18-2007 07:05 AM
Hi,
I am having the same need. In addition I need to read the output of the vi. How can I do this?
Thanks,
Vasanth.
01-18-2007 08:30 AM
@Vasanth wrote:
I am having the same need. In addition I need to read the output of the vi. How can I do this?
If you need to use different VIs with the same connector panes, then you should use the Call by Reference node.
If the VIs are different, then you can use the Get Control Value method to get the value of an indicator, but the key is that you will need to know when to read that value (you have to wait until the VI is finished). There are other methods of transferring data between VIs which might be more appropriate. If you tell us what you are actually trying to do, we might be able to offer more help.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).