ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus libraries for LabView 8.0

There are modbus libraries available for download, supporting LV 7.1. When will these libraries be updated to 8.0?? I kind of need them for my applicationSmiley Sad
Message 1 of 81
(8,561 Views)
You should be able to open the 7.1 format files in 8.0 without any issues.
Message 2 of 81
(8,499 Views)
Nope,
The downloadable file is called nimodbus.msi. When I open it, it starts the installer, but suddenly stops and tell me that the innstallation requires LV 7.1 innstalled.
-Christian 
Message 3 of 81
(8,496 Views)
Try this file. These were saved back to 7.0 format.
Message 4 of 81
(8,488 Views)

Has anyone tried to save them up to 8.0? I saw a comment on the downloadpage for ver. 7.1 that one "anonymous" complained about broken wires. I am not very experienced in LV and if some of these sub VI's result in broken wires, I would probably get into some difficulties.. Please let me know if anyone has actually tried it in LV 8.0.

-Christian 

0 Kudos
Message 5 of 81
(8,442 Views)

I tried these files. First the example with master and slave communicating between two com ports -> no response on any of them.

Something I'm missing? I did not get any error reports either. I also tried monitoring the input on the slaves com port with hyperterminal( messages from master), all I got from that was alot of strange "letters" coming in blocks of five. And it did not seem to respond on changes I made in the master .vi.

Has anyone tried this example?

 

0 Kudos
Message 6 of 81
(8,408 Views)
Here is an example that I use for modbus serial communication. I also have a TCP version if you need it.
Message 7 of 81
(8,407 Views)

Thanx alot for trying to help. I triedf you're library, but I am still not getting it. I should probably read some more about the Modbus protocol. But my observations are: Whatever changes I made to the frontpanel of the .vi nothing happened. I monitored the output with hyperterminal and all I got was blocks of five "strange" letters. (almost like in the previous example, but they were coming at greater speed.) They were staying the same no matter what.

-Christian

0 Kudos
Message 8 of 81
(8,400 Views)
Some critcal remarks about the modbus library:
- library can only be installed under LV 7.1
- VIs use stacked sequences instead of dataflow programming
- error trapping is not passing from bootom to top
- simulating a slave is faulty
- function code 11 = "get common event counters" is not implemented
- function code 23 = "read/write multiple registers" is not implemented
- no documentation

Manfred
Message 9 of 81
(8,385 Views)
Okei, so what does that mean? I'm not able to use these files in 8.0? Or can I do some small modifications and make them work?
 
0 Kudos
Message 10 of 81
(8,372 Views)