ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stomp client

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!

0 Kudos
Message 1 of 4
(3,298 Views)

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?

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 2 of 4
(3,239 Views)

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.

0 Kudos
Message 3 of 4
(3,229 Views)

Perfect!

 

If you would need some help at a certain point, then just let us know.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 4
(3,221 Views)