LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Web Server causes delay?

We have observed the delay problem described below and wonder if anyone can explain it and suggest a fix? We are using LabVIEW 8.5.1 on Windows XP Pro systems.
 
A delay or pause in the LabVIEW process is experienced when a remote PC views a vi panel using the NI Web Server. For example, running the simple "Main.vi" shown in the attached picture causes the 'Activity' indicator value to count up rapidly. If the NI Web Server is enabled for this vi, a remote PC can view the vi panel using Internet Explorer using a URL such as
 
http://10.1.2.34/.monitor?main.vi&refresh=10 (if the vi is run as an executable or launched stand alone in development mode)
 
or
 
http://10.1.2.34/.monitor?aproject.lvproj/My%20Computer/main.vi&refresh=10 (if the vi is run in development mode from project 'aproject.lvproj')
 
The IP address '10.1.2.34' is just an example, as is the project name 'aproject.lvproj', these should correctly reflect the IP address and project name on the LabVIEW PC running Main.vi. It also seems 'My Computer' in the URL is case sensitive.
 
Whenever the remote PC refreshes the Main.vi 'page', the LabVIEW process stalls for several seconds (typically 4 or 5), which is clearly evident because the value of the 'Activity' indicator freezes for the few seconds while the remote browser accesses the vi panel. Additionally, CPU activity drops to zero during this freeze. In some other applications, this delay causes problems, and the Main.vi example here is provided to easily demonstrate the problem. The delay seems proportional to the 'routing'  - there seems to be no delay if the browser is on the same PC as the vi, and in some cases the delay has been as long as 15 or 20 seconds possibly due to more levels of routing.
 
Thanks for looking this over, please let me know if you are able to duplicate the problem, and if there is a good fix for it.
0 Kudos
Message 1 of 4
(2,740 Views)
Is anyone able to try and duplicate this? - I would appreciate any feedback here, thanks!
0 Kudos
Message 2 of 4
(2,721 Views)
Back to the top...  any suggestions?   anyone???
0 Kudos
Message 3 of 4
(2,708 Views)
Hey BEHajder,
 
Have you looked into a forum post called Why is my remote panel so slow to load?
 
This post has a lot of useful suggestions!!
Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 4 of 4
(2,688 Views)