03-20-2012 03:53 PM
I am developing a data acquisition system using a cRIO-9075 chassis. I am hosting shared variables on the RIO (Host) and would like to graph the data on a PC (Client). The system works fine when the host and client are on the same subnet, but the problem is that the RIO needs to be mobile. I need to be able to collect data from the network even if the ip address/subnet changes. I've attempted to plug the RIO on a seperate network from the client, but when I do this I get a "Shared Variable Not Found" error while attempting to retrieve the data. I've also tried to set the RIO to use a static IP, but this still did not fix the problem. Is there anyway around this using NSV's?? If not, what would be another solution??
03-22-2012 11:44 AM - edited 03-22-2012 11:45 AM
Hi,
Have you tried registering the cRIO's ip by going to Tools » Shared Variable » Register Computer... ?
There are some other suggestions for troubleshooting problems with shared variables in this document.
03-24-2012 08:42 PM
You might also try using the shared variable API, instead of the static node references. The API allows you to specify the whole ip address. I'm not sure whether this will work, but it's worth a try.
Tip: If you have an existing static node, you can right-click on it and select Replace with Programmatic Access.