LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting a cRIO over internet

Hi guys,

 

i am working on a data aqq cRIO project which is working with headless datalogger architecture, so far it is deployed at a power plant in their local LAN some miles away from my desktop.

We want to send commands (UI.vi) from our LAN over the internet to the cRIO (RT.vi) 1:1, start FTP or SMTP communications, read data...

My question is now, how i get the url/ip of the cRIO to establish connection when it uses DHCP and for example it shuts down and get a new IP from the DHCP, or the switch has a deconnect and gets new ip?

 

Is it further possible to use network-strem vi instead of tcp vi to establish a connection from ui.vi to the rt.vi - i was searching for a straight answer y or no?

 

Looking forward to hear from you...

 

weigsi

 

0 Kudos
Message 1 of 2
(2,498 Views)

The whole point of DHCP is to hide the IP address (which can and does change) and replsce it with a name (which doesn't change). There should be no difference in you code except instead of passing an IP address to open the TCP/IP connection you pass a name.

 

Mike... 


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,487 Views)