LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate with MQTT broker (or AMQP) from LabVIEW NXG WebVI?

Hi, is it possible to communicate with MQTT broker (or AMQP broker) from/within WebVI?

 

The usage and communication with MQTT broker would be a much more beneficial approach (compared to regular HTTP send/request to/from host application): brokers can handle lots of sensors with minimum programming and the required postprocessing scenario could run in WebVI.

 

Is it possible to implement the communication with MQTT broker (or AMQP) from WebVI using some standard LabVIEW tools?

Without any extra Javascript programming.

 

Looking forward to any suggestion or lead and thanks in advance!

0 Kudos
Message 1 of 2
(2,345 Views)

[This query was handled internally as a standard support request. Following is the accepted answer.]

Hello,

 

There already exist and you might be aware of MQTT protocol implemented on NI LabVIEW. However, we currently have no out-of-the-box solution to implement MQTT broker on the WebVIs. Though, one thing I have in mind is to use Websockets to achieve this. You may use NXG Websockets to implement a similar concept. However, this will still not implement MQTT broker on WebVI.
Another option, as you discussed yourself would be to use JSLI. I am not sure how much we shall be able to technically support you in it (probably very little beyond simple interfacing with Java Libs).

 

Please let us know if more help is needed or mark the answer as accepted solution.

 

Best Regards,
________________________________________
Muhammad Kamran Ayub
Staff Technical Support Engineer | Platforms & Systems
Certified LabVIEW Architect (CLA) | Certified TestStand Developer (CTD)
National Instruments UK & Ireland

0 Kudos
Message 2 of 2
(2,248 Views)