LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there modbus lib for labwindows?

hello ,

now i want use modbus protocol in my project.

i find there are modbus  lib can be used in labview. but is there any modbus lib can be used in labwindows for 

free?

I find there are many free open modbus code use in c# winform.

 

can any body give me modbus lib or code that can be used in labwindows?

 

tks!

0 Kudos
Message 1 of 4
(1,617 Views)

Hello,

I have a vague recollection that NI-CAN can do CANBUS and MODBUS but I may be wrong. You should also check the XNET library and the Automotive Diagnostic Command Set. They are addons.

0 Kudos
Message 2 of 4
(1,596 Views)

NI-CAN and NI-XNET do not have any modbus functionality AFAIK.

But what have you searched for really??

 

https://github.com/stephane/libmodbus

https://github.com/Jacajack/liblightmodbus

https://github.com/debevv/nanoMODBUS

https://github.com/nimaltd/master-modbus

https://github.com/rtlabs-com/m-bus

 

Use your poison to satisfy your requirements, from minimalistic single file implementations to multiplatform support with underlaying abstraction layers.

And this is just a quick and dirty search with the first few relevant hits. If you want to go really into it there are many many more to choose from.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 4
(1,530 Views)

You may also want to take a look to this sample I published a few years ago. It is specifically aimed to Modbus RTU over RD232, but the basics of modbus are there and you can adapt it easily to TCP

Modbus RTU programming over RS232 in CVI 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(1,511 Views)