12-10-2014 03:42 PM
I have a RT.exe running and am having a difficult time getting data from that application instance into my hosted webservices. There are two startup VIs running, and I can succesfully read the data between the two startup VIs, but I cannot figure out how to pass that data down to the hosted webservices. Some of the things I've tried are using global variables, queues, and functional globals and none have been able to pass any data from the startup VI#2 to the webservices successfully.
If you need more clarity to understand the situation, please feel free to ask me to elaborate on something.
Anyone else have any experience, or other ideas?
Thanks.
12-11-2014 02:49 PM
Hello
I have a couple of links you could find useful:
Can I Use a Global Variable to Share Data Between Two LabVIEW Executables?
http://digital.ni.com/public.nsf/allkb/FC8685670392E7C286256647006C1948?OpenDocument
Using the Right Networking Protocol
http://www.ni.com/white-paper/12079/en/
Regards.
Ernesto
12-11-2014 05:23 PM
The web service runs in a separate application instance. Here are a couple of links to other forum discussions about passing data between a web service and a main application, some addressing exactly your question about running on an RT system:
http://lavag.org/topic/8635-86-web-service-question/
http://lavag.org/topic/11192-interaction-between-web-service-and-main-instance-on-crio-target/
http://forums.ni.com/t5/LabVIEW/Controlling-an-existing-application-via-webservices/td-p/1874907