Jump to content

Get reference to another built .exe application


Recommended Posts

Hello,

I am trying to get a reference to another LabVIEW built .exe application. As far as I could understand in other threads one should be able to do that by enabling the TCP/IP port in VI server.

In the built application I do that by including in the application.ini:

server.tcp.enabled=Trueserver.tcp.paranoid=Falseserver.tcp.access="+localhost"server.vi.access="+*"server.vi.propertiesEnabled=Trueserver.vi.callsEnabled=True

I run the application.exe and then try to see the Exported vi's in Memory (see attached vi) but I don't get any

What I am doing wrong?

Thank you for your help.

post-1684-0-98512300-1300694750_thumb.pn

Link to comment

...What I am doing wrong?...

My guess is that you are using the same TCP port for both development and application, which means that ExportedVIs is the list of exported VIs from development.

Try to add the following to the application ini-file

server.tcp.port=3364

then specify port 3364 in the ApplicationOpen method.

/J

Link to comment

My guess is that you are using the same TCP port for both development and application, which means that ExportedVIs is the list of exported VIs from development.

Try to add the following to the application ini-file

server.tcp.port=3364

then specify port 3364 in the ApplicationOpen method.

/J

You are right, by defining a different port than the default as you described it works.

Thanks a lot!

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.