Streaming data into the interface
This tutorial subscribes to the
data
topic. Subscribing is described in depth at
mosquitto.org/man/mosquitto_sub-1.html.
1
Launch the terminal or command prompt and open the directory that has the Mosquitto apps.
The default directory is
Program Files\mosquitto
.
2
Enter the following command to subscribe to the topic.
mosquitto_sub -h
172.24.82.41
-t
"licor/niobrara/output/concentration"
l
mosquitto_sub
launches the application to subscribe.
l
-h
specifies a host (the Trace Gas Analyzer) followed by the instrument IP
address
l
172.24.82.41
is the instrument IP address. You can also enter the host name.
Both are given on the instrument display.
l
-t
specifies that you want to subscribe to a topic.
l
"licor/niobrara/output/concentration"
is the topic and hierarchy.
3
Type
Ctrl + C
to stop the script.
Section 7. Communication with the MQTT protocol
7-3
Streaming data into the interface
Summary of Contents for LI-7815
Page 1: ...LI 7815 CO2 H2O Trace Gas Analyzer Instruction Manual...
Page 2: ......
Page 10: ...viii...
Page 30: ...Section 2 Getting started 2 14 LI 7815 CO H O Gas Analyzer...
Page 38: ...Section 3 Applications of the LI 7815 3 8 LI 7815 CO H O Gas Analyzer...
Page 42: ...Section 4 Software overview 4 4 LI 7815 CO H O Gas Analyzer...
Page 54: ...Section 4 Software overview 4 16 LI 7815 CO H O Gas Analyzer...
Page 62: ...Section 5 Troubleshooting 5 8 LI 7815 CO H O Gas Analyzer...
Page 70: ...Section 6 Maintenance 6 8 LI 7815 CO H O Gas Analyzer...
Page 88: ...Appendix B Additional safety information B 6 LI 7815 CO H O Gas Analyzer...
Page 92: ...Appendix C Specifications C 4 LI 7815 CO H O Gas Analyzer...
Page 97: ......