LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW RabbitMQ Connector on Linux and Windows

Hello everyone, I want to use RabbitMQ through LabVIEW on Linux, but the only Toolkit I found through VIPM is.net based and can only work on Windows, so I decided to make one myself.

The new toolkit is based on an open source software written in The C language: RabbitMQ-C, and I modified its source code to add something so that it can be called by LabVIEW.

Under Windows, it already works well with the generated DLL file.

Then I generated the.so file using Cmake programming under Linux(CentOS x86), and the problem arose that when it was executed to the amqp_channel_open function, LabVIEW quit without prompting.

Attached are all the files used in this toolkit. You can open lv_test1.vi and try to run it under Windows. If anyone can help me solve this problem, I would be very grateful.

0 Kudos
Message 1 of 5
(1,893 Views)
mark
0 Kudos
Message 2 of 5
(1,828 Views)
Finally, I have solved this problem and can now connect to RabbitMQ and send and receive data both on Linux and Windows.I will pack this tool in my spare time and upload it here, hoping that it can help others in need.
Message 3 of 5
(1,809 Views)

I finished the toolkit, which still has a few problems, but is basically usable.I will continue to improve this toolkit in the future.

Screenshot from 2020-12-24 19-44-34.png

Message 4 of 5
(1,786 Views)

When I download the latest files and run the example.vi I get an error 13 when trying to create a new connection. I have verified the path to the DLL is correct and have also downloaded the Visual Studio Redistribution package (not sure if I needed it or not) with no success. I am still on Windows trying to get it to work before moving it to the cRIO. Is there anything else I need to download?

 

I am running 32-bit LabVIEW 2020 (20.0.1f1). Do I need 64-bit LabVIEW to run this?

 

Thanks!

0 Kudos
Message 5 of 5
(1,254 Views)