LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP communication between two computers

This thread is about TCP communication.  I recommend that you search the forums for threads about VI corruption, and if you cannot find a solution, post a new thread about your specific VI corruption problem.  Also attach the VI itself, not just screen shots.  I cannot help with this, I have no experience with VI corruption.

0 Kudos
Message 11 of 15
(1,851 Views)

Hello,


Could anyone help me on this please

I need to realize a communication between a MatLab application and a
LabView application.I have some data from Matlab to Labview. The two programs are installed on different computer, so I
think they have to communicate using a TCP/IP connection..I Need help in solving this situation...

0 Kudos
Message 12 of 15
(1,728 Views)

Why don't you start a new thread with your specific question? Also, have you looked at the TCP/IP examples that ship with LabVIEW? I haven't looked at Matlab, but I assume there are similar examples.

0 Kudos
Message 13 of 15
(1,712 Views)

Hello, 

 

I am trying to create a TCP/IP communication between two computers using your code and it is not working. I have changed the IP address. Should I change something else in order for the code to work on my computers?

0 Kudos
Message 14 of 15
(870 Views)

I assume you are talking about the 8 year old example in the first post. Never trust code that has "untiltled <x>.vi" as filename. Code is pretty useless, no loop timing, diagram maximized to the screen, etc. I would stay away from it. This is not from an experienced programmer!

 

Have you looked at the TCP/IP examples that ship with LabVIEW. They are probably of better quality.

 

If you insist on using the above code, I would recommend some basic troubleshooting steps. There are millions of way something could be "not working". Too ambiguous to offer any help.

 

How were you running this? Which code did you start first? Are there any error messages? What did you change? What are the IP addresses of your computers? Are both on the same local network? Does it work if you run both on the same computer? Are there any firewall rules?

 

0 Kudos
Message 15 of 15
(848 Views)