John Lokanis Posted January 22, 2009 Report Share Posted January 22, 2009 I want to connect to another LV app on a different machine, open a reference to a specific VI in that app (the main GUI) and then use FP.GetImage to get a snap of the front panel. I can't seem to get the right ini settings in my remote app to make this work. Has anyone else done this? If so, what are all the steps nessesary to make this work? Will it work over the network or must the caller and callee app both be on the same machine? Can this work at all? thanks for the help! -John Quote Link to comment
jdunham Posted January 22, 2009 Report Share Posted January 22, 2009 It should work fine, even over the network. First I would telnet to that machine on port 3363 (unless you changed VI Server's port) to make sure it is accepting connections. If that works, then the error out from each VI server call should tell you what's not working. Quote Link to comment
John Lokanis Posted January 22, 2009 Author Report Share Posted January 22, 2009 QUOTE (jdunham @ Jan 21 2009, 11:55 AM) It should work fine, even over the network. First I would telnet to that machine on port 3363 (unless you changed VI Server's port) to make sure it is accepting connections. If that works, then the error out from each VI server call should tell you what's not working. Can't telnet in. So, the server does not seem to be running. Here is the contents of the ini file: prefDlgTestData=1234 appFont=""0" 13" dialogFont=""2" 13" systemFont=""1" 13" HideRootWindow=True blinkBG=000000FF DebugServerWaitOnLaunch=TRUE server.tcp.access="+127.0.0.1" WebServer.Enabled=True server.tcp.acl="290000000A000000010000001D00000003000000010000002A10000000030000000000010000000000" server.tcp.enabled=True What am I missing? (BTW: I am running 8.6) Quote Link to comment
jdunham Posted January 22, 2009 Report Share Posted January 22, 2009 QUOTE (jlokanis @ Jan 21 2009, 01:21 PM) Can't telnet in. So, the server does not seem to be running.server.tcp.access="+127.0.0.1" server.tcp.acl="290000000A000000010000001D00000003000000010000002A10000000030000000000010000000000" server.tcp.enabled=True Well first telnet in from a command prompt on the same computer. If the server is listening, it will connect (telnet can't get you past the connection, but it should be a healthy black screen and kick you out when you start typing). The most likely thing is Options -> VI Server: Machine Access. The default is localhost only. Try adding your other machine's IP address to the list with access allowed. You can also allow "*" (everyone) but only if you are secure from inbound internet connections (or you don't care about security). If that doesn't work, verify that Windows firewall is open on port 3363, and then look at the other LV VI Server settings. Quote Link to comment
John Lokanis Posted January 23, 2009 Author Report Share Posted January 23, 2009 QUOTE (jdunham @ Jan 21 2009, 03:45 PM) If that doesn't work, verify that Windows firewall is open on port 3363 *$*#@!! Firewall. :headbang: Thanks for the help! :worship: :beer: :beer: 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.