Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Vern_S on June 25, 2014, 12:35:00 PM

Title: Integration with Industrial Software such as LabView and MatLab(Simulink)
Post by: Vern_S on June 25, 2014, 12:35:00 PM
Hi there,

I am looking for a solution that would allow me to connect with Industrial software such as or MatLab(Simulink). With Unity being used more and more for Non-Game applications, having a fairly straightforward way of connecting with these industry leading systems would be very beneficial for the community. A Networking based solution using TCP/IP would probably be the best way since both of these applications support it.

MatLab TCP/IP info. (http://www.mathworks.com/products/instrument/supported/tcp-ip.html)

LabView TCP/IP info. (http://www.ni.com/white-paper/10060/en/#toc4)

Would anyone have some insights or thoughts on this? Would TNet be beneficial in providing this connectivity?

Thanks,
Vern
Title: Re: Integration with Industrial Software such as LabView and MatLab(Simulink)
Post by: ldw-bas on June 26, 2014, 03:06:51 AM
Hi!

Pretty interesting stuff your are doing there, but I don't think TNET will be of any use for you. TNET is a network library to make the communication between different instances of unity games easier. While what you are looking for is TCP/IP communication. This is possible with the System.Net.Sockets namespace. Maybe there is already a .NET library covering the MATLAB communications over TCP/IP in that case you can just plug that dll into unity.

So to conclude, I think TNET is on a higher layer abstracting the network communication between the same game. While you need communications between different applications using TCP/IP which is standard available in Unity.
Title: Re: Integration with Industrial Software such as LabView and MatLab(Simulink)
Post by: Vern_S on June 26, 2014, 07:01:53 AM
Thank you for your insight

I am doing a number of things including Training and Simulation and will be integrating multiplayer capabilities into our projects. I will be looking more into TNet in this respect. If you have any thoughts about the 3rd party integration could you post them on the Unity Forum thread (http://forum.unity3d.com/threads/integration-with-industrial-software-such-as-labview-and-matlab-simulink.253742/) I started to discuss this. There seems to be a number of people interested in this area and I am trying to get a good discussion going.

Thanks again,
Vern