11-26-2009 08:58 AM
Hi,
Solved! Go to Solution.
11-26-2009 09:37 AM - edited 11-26-2009 09:37 AM
Vincent,
By hang I assume you mean that the host loses communication and pops up a dialog along those lines? What steps do you have to take to get out of that state?
If I understand correctly, just the tcp communication or just the web server is fine indefinitely. Is simply having the webserver enabled enough to cause the hang or do you have to be interacting with it?
If you are able to post your code that would help with debugging. I'm also curious if anything is printed to the console (http://digital.ni.com/public.nsf/allkb/354A5124E6A667988625701B004A77CD)
Thanks,
Sebastian
11-27-2009 09:23 AM
Sorry if i was not clear...By hang, i mean sometimes a total crash (no more tcp, web server and application stopped), sometimes just the network stopped, and the application recover when i close all networked tasks. It happens whenever i launch the remote panel first, or the data logging STM connection first.
Looking at the processor load with the distributed system manager, i saw that my application alone shows only 25%. So i don't think this is a processor overloas issue. I also tried to change the tcp port i use for the STM communication without any change in the behavior.
12-02-2009 10:55 AM
Hi,
Can you post your code, it will be easier to help you?
May be your computer take too much time to respond, or the bandwitch of the network is not sufficient.
Can you try to increase the time loop of TCP communication and try to decrease the amount of data which is send over the network.
Regard.
Yann C.
France
12-03-2009 03:05 AM
12-03-2009 07:14 AM
Hi,
Can you try with a simple while loop+delay instead of timed loop for the TCP communication loop.
Regards
Yann C.
France
12-03-2009 07:40 AM
12-03-2009 04:38 PM
I experienced a similar issue.
It seems LV RT does not like having a blocking function within a timed loop. As soon as the blocking function takes longer than the loop rate, LV RT would crash.
12-04-2009 01:55 AM
12-04-2009 04:12 AM
Hi,
The while loop have the same priority of the Vi, the timed while loop have a priority between high and critical.
To know the priority of your Vi: Ctrl+I » Execution.
Regards
Yann C.
France