08-26-2013 04:29 AM
My customer hosts streaming open data through websockets using the STOMP protocol. Just wondering whether anyone has some example code for a simple STOMP client in Labview.
Thanks!
08-27-2013 07:00 AM
Hello Aartjan,
As far as I know (and can find) there's no example code publically available about this on the NI website.
However, it should be feasible to implement this yourself.
A first google search for the terms "STOMP protocol LabVIEW" shows the following implementation:
http://bergmans.com/lab/WebSockets%20for%20LabVIEW/WebSockets%20for%20LabVIEW.pdf
Next to this it should be relatively easy to implement the STOMP protocol by following the STOMP Protocol Specification (http://stomp.github.io/stomp-specification-1.1.html) and using TCP connectivity from LabVIEW.
Are you familiar with these types of implementations?
08-27-2013 07:33 AM
I came to the same conclusion. The example code provided by Bergmans got me started very quickly and I have succesfully read some websocket streams using STOMP.
08-27-2013 08:27 AM - edited 08-27-2013 08:27 AM
Perfect!
If you would need some help at a certain point, then just let us know.