LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble with the HTTP Server vi

I'm having trouble using the HTTP Server program to view the front panel of my program remotely.

When I initially start the server program everything works fine. However, the program hasn't been able to run for more than one or two days at a time before it freezes and won't display the front panel.

The only clue I can see as to what is going on is that there are always several pending connections and active connections listed in the HTTP Server front panel when it isn't working properly. Stopping the server and starting it again fixes the problem temporarily and it works fine for another day or two.

Any ideas about what might be causing this problem?
0 Kudos
Message 1 of 2
(2,547 Views)
Which OS do you have? Win95 and 98 are not very stable systems, so you might want to try with WinNT. You should be able to run the HTTP server for few days on WinNT.

Since restarting the server solves the problem, maybe you can try to programmatically restart the server every 24 hours. This can be done within LabVIEW with the HTTP Server Control.vi. Be aware that this will close all the connections, not just the pending ones.
Does this problem happen every couple of days, or are you able to run it sometimes for a longer period time? Is it related to how many clients request control?
Also, take a look at the Access Log, and see if you notice anything strange at the time when the problem happens.
I hope this helps.
Have a pleasant day.

Zvezdana S.
Nat
ional Instruments
0 Kudos
Message 2 of 2
(2,547 Views)