Jump to content
Sign in to follow this  
gatormc9

TCP Connection not working after application build

Recommended Posts

Hey guys,

I have created a VI that controls a motor control device using Telnet (TCP Open, TCP Write, TCP Read, and TCP Close). The program works fine in Labview, but when I build an executable it doesn't communicate. I tried building an installer and putting the exe on another machine and the same thing happens. These machines are not running firewalls and they are on a closed network. I originally created the VI's in Labview 8.6.1 full, but it didn't have the application builder. I saved the VI for use with 8.5 and built the application from LabVIEW 8.5 Developer installed on a different PC. Any ideas as to why the TCP functions aren't working?

Thanks in advance for the help.

Share this post


Link to post
Share on other sites

You will need to keep the VI that opened the telnet session running (not just kept in memory). I had the same issue and found some threads here and on NI about it. To tired to explain why. Give me coffee.

Try it.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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