04-22-2021 02:13 PM
In the case where you have a built LabVIEW application on a target and you want to have a web service interface via HTTP, what is the current best method for communicating between the web service and the application?
here's a simple diagram to show what I'm referring to in case the above isn't clear...
(the yellow arrows are the channels in question)
Is hosting a TCP server in the app (and having methods msg it as a client) the best option currently? I have that working in a simpler app I previously wrote but I just wanted to ask if there's a cleaner or better way to do it. I would like to have the ability to support message queries between the two...
thanks
04-26-2021 06:41 AM
I think TCP is a good way to go, just make sure you manage port selection- an ini file of some sort would be a good idea.
04-26-2021 06:42 AM
Thanks!
04-26-2021 06:44 AM
you're welcome 👍
05-04-2021 01:44 PM
you could also use rabittmq if you wanted to get fancy...