Jump to content

Connecting to a remote LV app


Recommended Posts

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

Link to comment

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.

Link to comment

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)

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.