LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh rate problem

Hi,

I am facing a problem of bad refreshing rate of the front panel when i tried to receive data remotely through internet.
since my objective is to monitor the data/reading from the graph of my frontpanel through internet, it seem useless if the refreshing rate of the page is too slow.

i have set the period to 0.0 which data suppose to be updated as frequent as possible.
******************************************************************************************************************
autoUpdatePanel =
INET_RegisterPanelAutoUpdate webhandle, main_panel, INET_UPDATE_CLIENTPULL, "main_panel.jpg", "index2.htm", 0.0, 0);
******************************************************************************************************************
as you information, i am running labwindow 5.5 under window 98 with internet tooklit function,my internet connection is 512kbps broadband. so is it my network problem or is there any other option for labwindow to refresh the page faster?
0 Kudos
Message 1 of 6
(3,762 Views)
It may be that the application and browser just doesn't update fast enough on that machine. I would first try to narrow down the source of the latency by trying your application on another machine (preferably with a newer OS) to see if the OS may be the culprit. Also, I would check your specs for your network to be sure you have a solid connection. As far as the CVI side goes, the only way to really speed up your refresh rate would be to have less controls on the front panel. Having less controls means less data to transfer, and thus quicker ability to recover. Hope this helps!
Jeremy L.
National Instruments
0 Kudos
Message 2 of 6
(3,750 Views)
Hello Kenshi,

If you are using a client pull web browser, one possible way of increasing the update rate is to make a call to ProcessSystemEvents(). The following example demonstrates how to do this.

If this technique does not provide the needed responsiveness, you might want to look into using a third-party web server than the one you are currently using.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 6
(3,743 Views)
hi jeremy,

ya, i have check out the refresh rate using window XP with a better processor speed, but unfortunately the result still the same although there are just alittle faster compare to using window 98.
i even go into the research lab with a better speed connection to test out the refresh rate,but with no avail.

if control from the front panel is the main cause, then i think there is no other option of increasing the refresh speed because i really need alot of control from my panel either directly or remotely.
0 Kudos
Message 4 of 6
(3,699 Views)
hi Wendy,

really sorry because i cant open the link that you provided to me, so i cant really tried out the ProcessSystemEvents() command line yet. is there any other way to reach the link above?

As for the third party server, is it something like angelfire or geocities type? sorry because i am not too familiar with server things.
0 Kudos
Message 5 of 6
(3,700 Views)
Hello Kenshi,

Here is the link demonstrating how to use ProcessSystemEvents() to improve refresh rates.

Hope it helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 6 of 6
(3,674 Views)