11-26-2021 09:36 AM - edited 11-26-2021 09:39 AM
Broker and client.i think. I prefer to build my own broker/client, but i can try Mosquitto too.
By the way, i watch this video, it use more MQTT packages.
https://www.youtube.com/watch?v=2TUv8o7KdWc&t=410s
But how to install packages directly, without VIMP ?
How to install this ?
11-26-2021 02:01 PM
@Martin_Sokolov wrote:
But how to install packages directly, without VIMP ?
https://github.com/DAQIO/LVMQTT
what do you mean "install"?
download as .zip, if you haven't git?!
11-26-2021 09:17 PM
Ok, but how to import it into LV. How from LV to ''call'' this library, so i can work with it ?
11-27-2021 09:44 AM
@Martin_Sokolov wrote:
Ok, but how to import it into LV. How from LV to ''call'' this library, so i can work with it ?
I suppose you want the mqtt .vis to show up in the Blockdiagram Function palette... if you don't want to use JKI's suberb VI package manger
(which is free, as long as you don't want to use it to commercially deploy your own packages)
then you have to manually copy the libraries to a distinct folder in your LabVIEW IDE Installation folder e.g.
"C:\Program Files\National Instruments\LabVIEW 2020\"
usually:
...LabVIEW 2020\user.lib
...LabVIEW 2020\vi.lib\addons
This is easy, if the Library in question is small, the bigger it gets, the more can go wrong.
If I were you, I'd get my VIPM working ....
11-27-2021 10:29 AM
I've tried your advice, but it doesn't work in my case ... I can't find the LVMQTT package I downloaded from git, in LV. Any advice?
By the way, i have problem with JKI, i created account but when i try to install some packages via VIPM and it ask me to log in to my JKI account, it tell me that i have error (i'm sure, that i fill my data correctly).
11-28-2021 01:26 PM
drag and drop the .vi in question from windows explorer into the blockdiagram, or use "select a VI" from the function palette
12-19-2021 07:39 AM
Hi, when i try to use VI Package Manager, i have this error (photo). How to fix this ?
I manage to import Mqtt node, via "select a VI", but where to find some tutorial for connectin MQTT to Cloud ?
Any help?
12-19-2021 02:03 PM
Check to make sure the port that VIPM wants to use is the same as the one the VI Server is using.
On the left is the list of ports VIPM wants to use. On the right is a screenshot of my LV 2018 VI Server options.