LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect two vi via internet

Solved!
Go to solution

hello,

 I have these vis and I need to establish a connection between them via internet . in LAN the data is sent . but I don't know how to connect these vis internet.

 any help please and thank you very much.

 

I have a static ip:80.81.xx.xxx

0 Kudos
Message 1 of 5
(2,913 Views)
What part is giving you problems? I assume the "server dmm" VI is the one that's running on a computer that has a public IP address? Are you able to connect to it? Did you make sure the communication isn't being blocked by a firewall?
0 Kudos
Message 2 of 5
(2,896 Views)

Here you go

First do this: Go to Tools>Options. Then Select VI Server: Machine Access and place * to accept allow all incoming connections.

 

1.JPG

 

 

 

Then, do this : Enable Web Server. Change ports according to your requirements or try with default. I normally use 81.

 

2.JPG

 

Then the following:

3.JPG

 

 

And Finally this:

 

4.JPG

 

Here,you can open the VI on the remote PC.

 

If you want to remotely control the VI through internet, then go to Tools>Web Publishing tool and select your VI, select Embedded option, and allow control. Start the web server on the remote pc and you can control this VI through internet.

 

 

 

Hope this helps 🙂

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 3 of 5
(2,892 Views)

hello,

thanks for your reply. for the remote pannel connection manager , it seems like a good solution but not in my case.

and for the static ip :yes, it is the server's ip. and the client has to connect it to send data( dmm signal---> dynamic signal). someone tell me to try the command ping sataic ip from client PC? and the result is  request time out. I think this is the problem and I am going to resolve it so wish me gd luckSmiley Wink

0 Kudos
Message 4 of 5
(2,883 Views)
Solution
Accepted by topic author khaled377

khaled377 wrote:

hello,

thanks for your reply. for the remote pannel connection manager , it seems like a good solution but not in my case.

and for the static ip :yes, it is the server's ip. and the client has to connect it to send data( dmm signal---> dynamic signal). someone tell me to try the command ping sataic ip from client PC? and the result is  request time out. I think this is the problem and I am going to resolve it so wish me gd luckSmiley Wink


THat was good adice you recieved. Non-routing IP are only available on the local net. Your IT department will have to help with the IP and router settings.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,856 Views)