02-22-2013 09:22 AM - edited 02-22-2013 09:24 AM
I have a bunch of cRIOs on my local subnet. I'm using 'Find.vi' Systems instance to find all of them from my host application.
I have had the cRIO IP addresses statically set to certain values for a few weeks. I programmatically changed one's IP addresses from the host.
However, when I do another 'Find.vi', the old address of the one I changed shows up in the list along with the new address. It almost seems like the addresses I have had them set to for a long time stick, but the new addresses don't. For example, I had one set to 192.168.1.204 for several weeks. I change it to 192.168.1.205 and both 192.168.1.204 and 192.168.1.205 show up in the list. When I change it back to ...204, only ...204 shows up in the list.
Is there some cache that needs to be cleared to stop this from happening? I've attached a screenshot of how I'm doing the 'Find'.
Thanks!
tourofmars
02-22-2013 09:41 AM
What happens when you make the include cached results to none?
02-22-2013 09:44 AM
I am not sure how the Find.vi looks for addresses but it is possible that it may use a name lookup on the network and teh old addresses may be cached in the name server.
02-22-2013 10:43 AM
Same results when I set it to 'None'. I'm looking directly for IP's. The two IP addresses show up for the same MAC address, which I thought was strange. See the attached...
02-22-2013 10:57 AM
The old address is cached in either the name sertver or a network device ARP table.