11-17-2021 08:08 AM
Hi,, is there any example of testing sensor data speed, sent via MQTT and HTTP ?
11-17-2021 08:20 AM
@Martin_Sokolov wrote:
Hi,, is there any example of testing sensor data speed, sent via MQTT and HTTP ?
HTTP is made for humans, MQTT is made for "things". Which one do you think will be faster?
11-17-2021 08:30 AM
Yes i know that. It is just for starting point, because i'm new to LV.
Then i wish to test MQTT vs MQTT-SN, or MQTT / SN vs Coap for example
11-17-2021 09:20 AM - edited 11-17-2021 09:22 AM
@Martin_Sokolov wrote:
Yes i know that. It is just for starting point, because i'm new to LV.
Then i wish to test MQTT vs MQTT-SN, or MQTT / SN vs Coap for example
Sorry, I didn't know at what level you needed the information, so I started out very general.
It's "just" a protocol. (I say "just" because some protocols can be quite complicated.) It's a pretty tall order for a beginner. I'm not sure just how much of a beginner you are, so the first thing I would suggest is to look at the training links on the forum page and take the free training. Then download the protocol pdf and see if you can implement a message. It doesn't have to be working communications yet. Just see if you can plug in some stuff in one end and see if the resulting message that you made looks the same as an example message that should be included in the protocol. Sorry, I can't think of anything else right now.
11-18-2021 12:40 PM
Where to find this examples?
I was thinking to
test time to transfer certain amount of data via the protocols.
Is it a good idea, and how to accomplish it ?
11-18-2021 01:51 PM
@Martin_Sokolov wrote:
Where to find this examples?
I was thinking to
test time to transfer certain amount of data via the protocols.Is it a good idea, and how to accomplish it ?
I'll be darned.. .there are LabVIEW toolkits available for this!!! I probably wouldn't worry about benchmarking, except maybe to the point of doing a very informal testing on transferring a typical file and watching the clock on the wall. If you can't really tell the difference there, it doesn't really matter.
11-18-2021 10:42 PM
I was hoping for more tutorial-like help, but ok I'll try that
11-19-2021 01:28 PM
@Martin_Sokolov wrote:
I was hoping for more tutorial-like help, but ok I'll try that
Sorry about that, Martin. The best I can advise is to take advantage of the training links on the forum page, then see if you can make at least one of the libraries listed there work. 😞
11-26-2021 04:01 AM
I have problem with JKI account, so i can't install packages like mqtt, via VIPM. So, if i download mqtt directly as package, how to install it? Also, if i download some LV project from github, how to install it in LV ?
11-26-2021 09:03 AM
@Martin_Sokolov wrote:
I have problem with JKI account, so i can't install packages like mqtt, via VIPM. So, if i download mqtt directly as package, how to install it? Also, if i download some LV project from github, how to install it in LV ?
which labview mqtt package do you want to use?
I'd use a ready (opensource) MQTT Broker like Mosquitto and learn to set up a MQTT Client in LabView e.g. run the Broker in virtual box linux machine and the client in windows via an .vi
Then see if you can setup communication between the Broker and the client.