07-22-2020 04:37 PM
I would like my web service VI to handle multiple request concurrently. I found this post https://forums.ni.com/t5/LabVIEW/Reentrant-web-method-VIs/td-p/1534796?profile.language=en. It seems the reentrant web method VI is what I am looking for. However, the reentrant property is disabled in Labview 2019. Is there another way to achieve the same thing?
I am still quite new to LabView, so if you can provide more details to the solution, it will be much appreciated.
Thanks!
Solved! Go to Solution.
07-23-2020 03:24 AM
@abigalexinli wrote:
However, the reentrant property is disabled in Labview 2019
What do you mean by this? I think that in the other discussion it meant that the user simply made the VI non-reentrant, not that they couldn't choose the reentrant option. In both 2015 and 2020 the reentrant options are enabled for the web service method VIs, so I expect it's the same for 2019 and a quick test shows that reentrant VIs are called in parallel when making a call to a GET method.
07-23-2020 08:54 AM
Thanks!
I don't know why the reentrant options were grayed yesterday. Today I can choose the options.
I tested with two chrome browsers in the same computer, the two calls are not in parallel. But with two IE browesers in the same computer, the two calls are parallel.