Hello everyone,
I'm working on a project where I have some “real-time” VIs running under “My Computer” in the LabVIEW project (as shown in the image below – main.vi). I’d like to visualize their data in a WebVI.
I’ve already developed two Web Service VIs:
Both work fine individually.
My problem is how to share data between them — in other words, how can I transfer the data received by getData.vi (POST) so that it’s available to sendData.vi (GET)?
I’ve read that using an FGV (Functional Global Variable) is a common approach, but I’m not sure how to implement it correctly in this context.
Could someone explain or show an example?
Also, is this the best/elegant way to share data between a “main.vi” and a WebVI, or is there a better architecture for this purpose?
Thanks in advance for your help!


(The yellow question mark highlights my main issue: how to share data between a “main.vi” and a WebVI. The red question mark refers to my current approach — using two Web Service VIs — but I’m not sure how to share data between them.)
The project I developed is attached below.