LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Call labview dll which include auto imported webservice

Hi

Someone else posted a issue about this topic, --- http://forums.ni.com/t5/LabWindows-CVI/Webservice-call-in-LabVIEW-DLL/td-p/2755674

 

I am facing the same problem. Well a bit different, that two old machine runing Win7 Pro is okay for CVI to call labvew DLL which include imported webservice library. Two new machine (a industrial PC & a notebook) running Win7 Pro SP? can not effectively call those labview DLL. 

All machine have CVI2010 & Labview2013 installed. All compliation & build is sucess. But the code just pass through those functions very fast & without any return.

 

Furthermore, I made a try, I add a labvew dll export function: double LV_Plus(double a, double b, double *c), which implement a+b = c.

When I call this function, the 'c' is always 0, does not show the result - the sum of a+b.

But when I remore all other function(which include imported webservice call lib) from this labview dll, then call the LV_plus again, I get the sum of a+b.

And restore those webservice function, such as WebOpen..., then the LV_Plus function failed again(just like has been skipped).

 

Hope some one can figure out something.

thanks 

WD

0 Kudos
Message 1 of 1
(3,278 Views)