08-31-2013 05:26 AM
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
08-31-2013 11:15 AM
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...