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
- last edited on
08-07-2025
03:59 PM
by
Content Cleaner
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: https://www.ni.com/en/support/documentation/supplemental/06/basic-tcp-ip-communication-in-labview.ht... . 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):
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHvgCAG&l=en-US
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
- last edited on
08-07-2025
04:00 PM
by
Content Cleaner
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? https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kH68SAE&l=en-US