LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my CRIO crash when opening a remote panel connection?

Solved!
Go to solution

I am experiencing issues using Remote Panels with two different applications on two different CRIOs (both 9012 controller, 9112 chassis)

1.    I have a VI running as startup and I can initially open a web browser linked to the web page for that application. With the application running I have verified  CRIO CPU usage to be about 30%, and Memory usage about 85%.

2.    If I close the web browser, wait several seconds, and then reopen the browser, the front panel appears but the CRIO hangs before the front panel gains control of the VI.  At this time, the CRIO CPU jumps to 80-90% and it hangs; my user LED stops flashing (which I have runnng in a timed loop for inidication that the applicaiton is running), and I cannot control the VI.  The Ethernet connection LEDs on the CRIO are still active and I can ping the device.  On occasion I experience an automatic reboot of the CRIO.

  

I have formatted the disks and reinstalled the latest drivers (RIO 3.1.1), and I have verified that the Halt System if TCP/IP fails setting is unchecked under the CRIO System settings, but still have problems. 

Any help would be appreciated.

Thank You

Dan

0 Kudos
Message 1 of 10
(4,260 Views)

Hello,

 

it could be that you have license to have only one remote panel at once.. and perhaps that first connection does not get destroyed properly before opening a new browser window.. Though that should not cause the crash you described. Which version of the LabVIEW Dev suite to you have? See the link below:

 

http://digital.ni.com/public.nsf/allkb/C23829DB3D00486A86256D5E00707FB2?OpenDocument

 

Also, is the VI for that front panel reentrant?

see here for possible hints: http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/viewing_fp_remote/

National Instruments
0 Kudos
Message 2 of 10
(4,241 Views)

Anna,

 

I have the Profeesion Dev. Suite w/ 5 RP licenses.  I have not explicitly set the VI as renetrant, so I am assuming it is not.

Dan

0 Kudos
Message 3 of 10
(4,228 Views)
Solution
Accepted by DBerry

If you are using the property node "Remote Panel: Connections to Clients" to determine if anyone is connected to the RT application, that might be the problem. There is a bug with this function. It exhibits the crashing problem in 8.5.1 and also in 8.6.1 I believe. I do not know if it has been resolved in LV 2009.

Dave P. - Viewpoint Systems, Inc.

0 Kudos
Message 4 of 10
(4,119 Views)

Yes, this was the problem and was figured out after many hours of troubleshooting and working with NI support.  I believe the issue was fixed with 2009 but I was unable to upgrade bc of an overhead increase with 2009/CRIO drivers and lack of adequate performance of my CRIO and therefore had to use a workaround.

 

Thanks


Dan

0 Kudos
Message 5 of 10
(4,107 Views)
What sort of performance problems did you have with 2009? We are contemplating an upgrade for certain applications, but your comment gives me pause. Can you elaborate?
0 Kudos
Message 6 of 10
(4,093 Views)

I don't mean to hijack a post, but crios are almost all I work with right now and 2009 solved more problems than it created and increased the versatility of the crio devices. I have found better perfomance on my crio devices than with 8.6. If you are considering an upgrade and are hesitant about bugs just keep in mind that a service pack has been released for 2009 that fixed a lot of stuff as well as new versions of NI RIO have been released since the original distribution release of 2009. So, if someone hasn't been keeping up with the releases they may be experiencing obsolete bugs. The service packs and new rio versions will be packaged in the next quarterly release so if you wait until then to feel more secure.

 

I just had to express how much better I like working with these devices with 2009 over 8.6

---------------------------------
[will work for kudos]
0 Kudos
Message 7 of 10
(4,085 Views)

I have a 9012 CRIO controller with only 64MB RAM.  I am running the SVE, Modbus Server, and other default CRIO drivers.  With the upgrade to 2009 and latest CRIO drivers it puts my performance level at about 95% CPU on RT controller.  The same application runnning with 8.6.1 and the CRIO drivers of that version uses only about 85% CPU.

 

My application requires future expandability and therefore I decided not to upgrade.


Dan

0 Kudos
Message 8 of 10
(4,084 Views)

Hello Dan,

 

I was wondering if you could post some more information about your application.  That jump in CPU usage is quite significant, and I'd like to understand where it is coming from.  Specifically, I'd be interested in your source code and a listing of the software installed both in the 2009 and the 8.6.1 case.

 

If you'd prefer not to post details here and would rather contact me directly, let me know and we can set something up.

 

Sebastian

0 Kudos
Message 9 of 10
(4,053 Views)
Does this crash due to 'Remote Panel:Connections to Clients' occur only in RT or even in normal LabVIEW applications. Why I am asking is that often when close the web browser, which displays my remote front panel of my built application, I get a 'TheEvent.cpp' error. My application is in LV 8.6.1. How can I get rid of this error? Or is there any workaround?

Thanks,
Priyadarsini
0 Kudos
Message 10 of 10
(3,762 Views)