12-12-2011 09:06 AM
We have a CRIO 9074 running a real-time app. We use a client app on a Windows
7 PC to access the data over a LAN.
After long periods of time (overnight, over the weekend) where we are not running the client app, the CRIO seems to lose connection with the network.
When this happens, the client app cannot access the RIO and neither can MAX. I have also tried to ping the CRIO through Windows and get no response.
Our real-time app flashes the USER LED when running. When we have the problem, the LED is still blinking, telling me that the real-time app is still running on the CRIO.
I have verified with our IT department that it is not on their side (inactive ports being shut off, IP expire, etc.).
NI Software : LabVIEW Real-Time version 2010 NI Hardware : RIO (cRIO, R Series, FlexRIO, sbRIO) device CRIO-9074 Driver Version : 10.0.1 OS : Windows 7
12-13-2011 05:28 PM
Hello,
Do you notice any spikes in CPU usage around the time when the RIO loses connection?
Regards,
Patricia B.
12-14-2011 05:09 AM
Not at all. In fact the client application is generally not even running. The only thing running is the RT program on the controller, which isn't being monitored for CPU utilization. Most often, the disconnect happens when there is nobody around, only to be discovered in the morning when trying to fire up a test.
12-14-2011 12:05 PM
Hello,
You stated that the RIO is connected over a LAN. Is the RIO assisgned a static IP address? My thought is that the device is being assigned an address through DHCP which is why is takes a while for the RIO to lose connection. With DHCP, the RIO is probably being assigned a new IP address after a certain period of time causing it to lose connection with the PC. Try assigning the RIO a static IP address and see if the disconnection still occurs.
Regards,
Patricia
12-14-2011 12:54 PM
I guess I should have mentioned that we have a static IP assigned to this RIO.
12-15-2011 02:42 AM
Hi,
Are you using Timesync 1.1.1? I know you are using LabVIEW 10.0.1 but could this be relevant?
Cheers
Stephen
12-15-2011 05:12 AM
Thanks Stephen, but I just checked and there is no evidence of Timesync at all.
12-15-2011 09:22 AM
Can you capture a MAX report and your system information and post it here?
Create a MAX technical support report - http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4?OpenDocument
Capture system information - http://digital.ni.com/public.nsf/allkb/DDF39729A407BFC1862578F7007807A3
Thanks!
Jeremy
12-20-2011 10:27 AM
Here you go.
I have also implemented a change in the code to help prevent the network from being starved. This was a suggestion from NI Tech Support.
02-16-2012 04:04 PM
I´m also experiencing communication troubles with cRIO 9074, but these are related to the operation mode. When I run the cRIO in safe mode, it is possible to connect through the MAX, change software and other things, but when I change to Run mode in order to develop a FPGA program, it may enter for a few minutes, but then a communication error appears. This error may happen immediately after reboot or some minutes later, but I have to reboot in safe mode because it does not reboot in run mode. I have formatted the cRIO several times, but the problem remains the same, despite there is no program loaded.
Some times MAX sends me a "MAXServerUnknownError"; I have tried the solution stated for the info code, but it is still not working. I have used other cRIO, and this problem does not appear.
Help.