02-11-2014 11:33 AM
Hello folks
i wish to control a LabVIEW VI through the internet using a browser. i have tried the WEB PUBLISHING TOOL . i read that this very tool works when the two systems or computers are coonected in the same network.
What should i do if i wish to control the VI from a remote location and both the LabVIEW systems are not connected across the same system.
I have read the TCP can help me transmit data in two different network, But can i use it control my VI or atleast fill in data like a password from the system which is not on the same network.
Thanks in advance
JALASHWA
02-11-2014 11:45 AM - edited 02-11-2014 11:49 AM
It will work across the internet, by you might have to configure firewalls and NAT (port forwarding, public vs. Private address, etc.) accordingly. Is LabVIEW running on a private network behind nat?
02-11-2014 11:51 AM
You could use TCP/IP to establish a client-server relationship between two applications and send messages back and forth. You would need to create a set of commands that a client would send to a server to have it do something. You would be creating an "automation" interface of sorts for a controlling application to ask for services from the server. Take a look at the "Simple TCP.lvpj" example project to see how a client server app could be written.
02-11-2014 11:59 AM
@10Degree wrote:
You could use TCP/IP to establish a client-server relationship between two applications and send messages back and forth....
I thought he was just talking about the web publishing tool.
Even with your interpretation, configuring the network is the main barrier if it currently already works within the same network, but not across the public internet.
02-11-2014 12:06 PM
Yes, you are right.
02-11-2014 12:15 PM
Sir Altenbach,
Thank you for your swift response.
in your first reply you have mentoined that it will work. I wonder what were you refering to The WEB PUBLISHING TOOL or TCP.
i will you the process which i want to achieve. I have a VI which is running in a remote location. i want to feed in a password from an internet explorer present in another location and on a other network so that when the password reaches the VI , the VI should stop executing.
Sir A, i am not very familiar with these complex terms,, could you simplify it down please???
JALASHWA