12-06-2007 03:31 PM
12-07-2007 06:03 AM
Start with
Search examples >>> Browse >>> Programmatically Controlling VIs >>> Dynamically Loading and Calling VIs >>> Server - VIServer - Example.vi
Look at the other examples in that section also.
Ben
12-07-2007 09:03 AM
12-12-2007 05:12 PM
12-13-2007 01:59 AM
The VI server allows you to programmatically access and control VIs running in any LabVIEW instance. That instance can be the current one, another one on the same computer, on a different computer around the world or even on an RT target and working with them is the same in all cases.
It starts with calling Open App Reference, which recieves a computer name (or IP address) and a TCP port number. These determine the specific LabVIEW instance and from that point on you work on that instance using the reference you got from the function. See a simple example of connecting to a remote VI here. The same works with property and invoke nodes.
You should note that not all properties and methods work on remote instances. Each has a table in the online help with one of the lines being Available on Local LabVIEW Only. If this is true, it means that you can not use that property in a remote instance.