From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-26-2012 06:54 AM
Hello
We have about five CRio modules in our laboratories, and they are connected via ethernet to the our school network. We need to use all those CRios from about 3-5 different computers.
We have a problem that due to internet security IP addresses are changed during some time period, i.e. every second month. We have always to find out from the Measurement and automation explorer what is the IP, and then change it to the application (.VI), and then compile new .exe file and then copy it to all the other computers.
Is there easy way to keep the CRio IP at the same (can we "lock" it?) or is there easy way to do it inside the .VI, without to do it every time again and again to all the computers.
Solved! Go to Solution.
01-26-2012 12:29 PM
VilleH,
It sounds like you are using shared variables to communicate with your cRIO's? If so, then you can write your code such that this can be done. See this post.
01-30-2012 11:00 AM
If your network properly synchronizes DHCP leases with your DNS server, you should be able to refer to your controllers using their hostname instead of an IP address. Alternatively, you could talk to your network administrators about assigning static IP addresses for your cRIO controllers.
-Jason S.
01-31-2012 12:02 AM
Jason;
Could you please give an example how/where I can change by using hostname instead IP address?
01-31-2012 05:45 AM - edited 01-31-2012 05:46 AM
01-31-2012 05:48 AM
Thanks. I will try to get this one working, this is what I was looking for.
02-02-2012 06:44 AM
Hi
I could not make it work. It does not connect if I change the DNS name ie. to "HEATEXCHANGER".
02-02-2012 03:18 PM
You should probably try to ping the hostname from a command prompt, to see if your network properly resolves the address. Whether this works or not depends a lot on how the school's DNS and DHCP interact. If you are having issues I would talk to your networking people to see whether they expect devices using DHCP to be resolveable using DNS. If not, you should probably pursue static IP assignments for these devices.