Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

CRIO 9074 losing connection with network

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

0 Kudos
Message 1 of 12
(7,427 Views)

Hello,

 

Do you notice any spikes in CPU usage around the time when the RIO loses connection?

 

Regards,

Patricia B.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 12
(7,415 Views)

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.

0 Kudos
Message 3 of 12
(7,406 Views)

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

National Instruments
Applications Engineer
0 Kudos
Message 4 of 12
(7,400 Views)

I guess I should have mentioned that we have a static IP assigned to this RIO.

0 Kudos
Message 5 of 12
(7,398 Views)

Hi,

 

Are you using Timesync 1.1.1?  I know you are using LabVIEW 10.0.1 but could this be relevant?

 

Cheers

Stephen

0 Kudos
Message 6 of 12
(7,391 Views)

Thanks Stephen, but I just checked and there is no evidence of Timesync at all.

0 Kudos
Message 7 of 12
(7,387 Views)

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

Jeremy L.
National Instruments
0 Kudos
Message 8 of 12
(7,381 Views)

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.

Download All
0 Kudos
Message 9 of 12
(7,347 Views)

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.

0 Kudos
Message 10 of 12
(7,216 Views)