Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

web request from cRIO to a server with dynamic ip

hi,

 

I am trying to build an application for cRIO to send web request message to a server which has a dynamic ip. The crio is connected to an adsl modem. I manage to make the crio to send the web request message using the http client vi in LabVIEW 2010. and it works fine. The url requires to have the server ip address in dot notation. This is where my problem comes in. The server is connected to the internet but it does not have a static ip. Having a static ip is quite costly so I have chosen to use Dyndns to host my server. So, if my server ip changes it does not matter as I should be able to send the web request message by specifying the host name given by Dyndns. This works well if the client is a PC running on Windows, or maybe Linux. PCs can do nslookup so if I use LabVIEW http client vis with a PC, I can specify the url of the server and this works. However, when I try this on a cRIO, it gives error 54. My assumption is that cRIO cannot do a dns lookup. Is there a way to send web request message to my server hosted using Dyndns? Is there a way to do nslookup using LabVIEW RT?

 

Rando

0 Kudos
Message 1 of 1
(3,596 Views)