Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RT application freezes/hangs occasionally when using remote panels

Hi!
Background:
I have developed an application running on a cRIO. The application have 4-6 parallell processes. Small amount of data is sent to host application over TCP/IP (from 10 to 1000 bytes/s). I'm using remote panels for debugging the system.
Problem:
Occasionally I've noticed that the whole application freezes(the whole application and not only the top level GUI) and when I'm change something on the remote panel(=generate an event)the application countinues. Could it be some TCP/IP problem with remote panels that locks the TCP/IP resources in the application? No error code is generated after the "freeze" so I can't locate the problem.

Hope that someone can help me with this problem!

Regards Ulf
0 Kudos
Message 1 of 4
(3,534 Views)
After long time testing (10days):

Everything works fine when I'm not using Remote Panel and the web-server. Seems like NI have some problems with Remote Panels and other background TCP/IP-communication. Could the problem be TCP/IP deadlock?

//Ulf
0 Kudos
Message 2 of 4
(3,510 Views)
An alternative to remote panels, which are great for getting applications up and running quickly, is to set up a tcp/ip client on the host side. You might consider these ideas.

http://zone.ni.com/devzone/conceptd.nsf/webmain/0986799C984500F886256F170079411E
Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 3 of 4
(3,507 Views)


@preston johnson wrote:
An alternative to remote panels, which are great for getting applications up and running quickly, is to set up a tcp/ip client on the host side. You might consider these ideas.

http://zone.ni.com/devzone/conceptd.nsf/webmain/0986799C984500F886256F170079411E



Thanks for your reply Mr Johnson,
I've implemented solution that is simular to the one in the article. One difference is that I don't use XML for sending data. The reason I don't use XML is that it consums a "lot" of memory and cpu-power.

//Ulf Nilsson, Endevo
0 Kudos
Message 4 of 4
(3,501 Views)