‎05-18-2012 09:31 AM
Hello,
I have VI (reading of the thermo sensors) running on cRIO-9073. I read the values of the temperature via shared variable and Ethernet.
I have a problem - if the network interruption happens, I cannot connect any more with cRIO. If I try to load the VI again, it hangs. I must switch off cRIO and on via power switch.
Is there way to avoid it? How can I make a romote reboot of cRIO?
Thank you.
‎05-18-2012 10:20 AM
The RT Utilities palette has RT Restart Target.vi. You can go by either IP or MAC. You might want to look at better error handling on your cRIO program. I always make sure my cRIO deployments can run without network access. Might not keep valid data but they won't error out. If this application must be networked, you could add a software watchdog. Have the cRIO restart itself if a message isn't received every n seconds.
‎05-18-2012 10:33 AM
Thank you, I will try.
The problem is I need to look time to time to the temperature values and make logging. I can try to make the reading less often – once per minute or so. Now it is once per second.
Logging (once per 10 minutes) is running on a PC, not cRIO and it is a separate VI. I do not have a module with flash card inside for logging, so I need to get connected to cRIO for logging.
Regards.
‎05-30-2012 09:30 AM
Open a Project and Insert the cRIO. Use Shared Variables to transmit Data to the PC Via LAN and store the data there. refer to the Example Finder HardwareI/O>>compactRIO>>Application>> Datalogging.