07-18-2005 10:34 AM
07-18-2005 10:48 AM
This is a tricky one, however I think I have the explanation for you. First notice that the error is not from the Open Application Reference, but instead the property node.
The help for the Srvr.VIAccess states: "Attempts to access the property on a remote application will result in a permissions error"
So when you do not input an IP or you use an empty string, you are on the localhost, therefore you can all the Property. However, when you actually type in the IP or computer name, the IP has to be resolved etc, and the Application reference is now to a "Remote" PC. Because it is now a remote application you get an error when you call the property.
07-19-2005 02:17 AM
08-07-2005 03:46 AM
OK, I finally got around to actually looking for the answer, and it seems the trick is the port number. If each EXE is given a different VI server port number, that should help in distinguishing them. There still remains the question of what happens if you have 2 EXEs with the same number, but that doesn't really matter now.
I consider this a problem in the documentation for the Open Application Reference help. I think it should state that if you want to open connections to different executables, you need to assign each of them a different port (which seems obvious now) and wire the correct number in, and that will do it.
09-27-2007 03:29 PM
09-27-2007 03:40 PM
09-27-2007 03:51 PM
09-27-2007 05:25 PM
Check what Mike Porter reported in reply #14 of this thread.
The ini token has changed to something cryptic (this is good) but it can be written by VI running on the target machine.
Ben