Closed mliberty1 closed 4 years ago
We have created a new joulescope_server repo that contains the initial implementation. Although we may eventually merge this functionality into this core pyjoulescope repo, we plan to keep the socket server and client functionality separate for now.
Using Joulescopes with Python is great, but what about other languages? Yes, you can invoke Python from C. However, having a less convoluted integration path would be better. Sockets would allow for both local cross-language integration and networking.
The socket API would need to support:
I have considered implementing to a standard, such as SCPI, HiSLIP, or VXI-11, but all seem poorly suited for streaming data. I would probably select a very simple tag-length-value format. Something very close (possibly identical) to the format used by JLS files documented in datafile.py.