LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Data from application to hosted webservice on sbRIO

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.

0 Kudos
Message 1 of 3
(2,455 Views)

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

Message 2 of 3
(2,412 Views)

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

Message 3 of 3
(2,406 Views)