j_o Posted March 6, 2010 Report Share Posted March 6, 2010 (edited) Hello to Everyone. This is my first post however I'm reader of LAVA for quite long time. I've searched forum (and few more places) on the problem I have but I haven't found any answer. I have two computers: A and B. On computer A I have an application that uses VI Server to call a VI (remote.vi) on computer B. Is there any way to obtain IP of the caller (computer A) inside remote.vi? Call Chain function in remote.vi returns "remote.vi.ProxyCaller" as a caller of vi, but reference to this VI cannot be opened. There is method of VI Remote Panel:Client Connections that seems to be exactly what I need but for Remote Panels. I couldn't find anything similar for VI Server calls. I would appreciate any hint or idea. Thanks. Edited March 6, 2010 by j_o Quote Link to comment
Rolf Kalbermatter Posted March 9, 2010 Report Share Posted March 9, 2010 Hello to Everyone. This is my first post however I'm reader of LAVA for quite long time. I've searched forum (and few more places) on the problem I have but I haven't found any answer. I have two computers: A and B. On computer A I have an application that uses VI Server to call a VI (remote.vi) on computer B. Is there any way to obtain IP of the caller (computer A) inside remote.vi? Call Chain function in remote.vi returns "remote.vi.ProxyCaller" as a caller of vi, but reference to this VI cannot be opened. There is method of VI Remote Panel:Client Connections that seems to be exactly what I need but for Remote Panels. I couldn't find anything similar for VI Server calls. I would appreciate any hint or idea. Thanks. I really don't think there is. The called VI has conceptually no way of knowing that it is called remotely or not and consequently also no way to retrieve information about its remote caller from anywhere. And the issue is rather arcane as you can very easily design your VI API to include any information you want to pass to the called VI. Quote Link to comment
j_o Posted March 9, 2010 Author Report Share Posted March 9, 2010 Thanks for reply. The called VI has conceptually no way of knowing that it is called remotely or not and consequently also no way to retrieve information about its remote caller from anywhere. Actually, after hours of digging I was supposing that answer to my question will be like this, but I needed confirmation. Thanks again. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.