LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice datasize speed problem

Dear all

 

I just started using Lv Webservice in LV 2009 to transfer data from a file to a Adobe Flex client.

As a reference I used the  "Function Generator's" example file from NI. 

 

Then I translated this project to my needs.

 

Now I have seen the problem. As long as the transfered datasize is up to about 131kb it needs about 2seconds to show the data.

 

When you increase the datasize of the transfered data to 132kb it needs about 65seconds. It does not matter if I transfer plain text or XML text.

Also package wise transfer as shown in this thread

http://forums.ni.com/ni/board/message?board.id=170&message.id=349276&query.id=226433#M349276

does not overcome this problem.

 

Is there somebody out who has also seen this problem or / and even have a solution.

 

Thank you in advance for your help.

 

Best regards

 

Gernot 

Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 1 of 3
(2,627 Views)

Hi Gernot,

I am sorry this took so long. One of my colleagues already contacted you about the issue. I would just like to share the workaround here: 

 

Modify the niwebserver.conf file to have the line "HttpChunking off"

This line needs to go before the line that reads "Listen 80."

 

The issue is known and documented. Its ID is 203547. You can always find the information which issues were fixed in the readme documents of new releases.

 

Regards

 

Peter

 

 

Message Edited by PaSB on 02-12-2010 01:32 PM
--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 2 of 3
(2,567 Views)
webserver_conf.png
Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 3 of 3
(2,561 Views)