jeudi 23 mai 2019

Serve real time data

Right now I have an application programmed with labview (development enviroment oriented to data aquisition) that receives and processes data from different acquisition systems. Once processed, stores the data (flattened into json) in a shared variable with the integrated labview web server.

Then in the other hand I have some web pages that make requests to this LV web server, asking for the JSON real time data periodically(once per second).

Now what I want is to replace the labview web server (due to some malfunctions and problems) with an standard one (e.g apache). The point here is that I know barely nothing about web servers, so it's something where I'm going in for the first time.

The question is, I can more or less understand how to make apache to serve the html and js code, but how to make the comunication between the LV application that receives the data with the new server? And how to configure the last one to keep them in memory and serve them when necessary?

On the side of Labview, it can output the data via UDP, TCP and http. It can also interact with windows DLL's. But on the side of the server I don't know where to start. Could I have some help?

Thanks for your time,

Héctor

PD: I expect to post this in the right place.




Aucun commentaire:

Enregistrer un commentaire