01-03-2014 02:46 AM
I need to create a data sharing system between two computers which on two different network (perhaps need external IP and enabled port to access). Can i use shared variable to do it? I am not sure that whether shared variable can be used over two network. If shared variable cannot do so, what else communication type i can use? Please advice me on this. Thank you
01-03-2014 03:27 AM
Hi,
I'm not sure if you can use Shared Variables to communicate between two computers with different networks (you can give a try).
Well for start, you can try to use TCP/IP related tools. For a start you can look into this: http://www.ni.com/white-paper/2710/en/ . Just make sure that that port isn't blocked. You can search some examples. Open LabVIEW >> Help >> Find Examples... >> Once NI Example Finder is open, under search, type in the keyword "TCP". This should give you some examples related to that.
For your additional info (related to Network Shared Variables):
http://www.ni.com/white-paper/12176/en/
http://digital.ni.com/public.nsf/allkb/474BC0745F63B7378625754D0069ECE8
Warmest regards,
Lennard.C
01-03-2014 05:54 AM
I tired using the method as shown below but i failed to get data from it. xxx.xxx.xxx.xxx is my external IP and pppp is the enabled port. I not sure whether i do it in the wrong way. Pehaps the shared variable is not supported for external network data transfer.
01-03-2014 08:08 AM
01-03-2014 11:44 AM
This document should direct you to what ports you need to open:
What Ports Do I Need to Open on My Firewall for National Instruments Software Products? http://digital.ni.com/public.nsf/allkb/CEF5A3568A5DA71D8625732800520EA1