Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » The modbus library (org.eclipse.kura.protocol.modbus.ModbusProtocolDeviceService)
The modbus library [message #1782943] Mon, 05 March 2018 13:50 Go to next message
Ahmed Gharssellaoui is currently offline Ahmed GharssellaouiFriend
Messages: 31
Registered: February 2018
Member
Hii guys,
I wanted to run the modbus example in this link:
https://github.com/eclipse/kura/blob/KURA_3.1.0_RELEASE/kura/examples/org.eclipse.kura.demo.modbus/src/main/java/org/eclipse/kura/demo/modbus/ModbusExample.java

but I had the error that the
org.eclipse.kura.protocol.modbus cannot be resolved

The modbus is no longer supported or do I need to install an external library ??

Please help me

PS: I am using Kura 3.1.1

[Updated on: Mon, 05 March 2018 13:51]

Report message to a moderator

Re: The modbus library [message #1782944 is a reply to message #1782943] Mon, 05 March 2018 13:53 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
as the message said, you need to install the org.eclipse.kura.protocol.modbus implementation whose code can be found here: https://github.com/eclipse/kura/tree/develop/kura/org.eclipse.kura.protocol.modbus

Best regards,
Matteo
Re: The modbus library [message #1782945 is a reply to message #1782944] Mon, 05 March 2018 13:56 Go to previous messageGo to next message
Ahmed Gharssellaoui is currently offline Ahmed GharssellaouiFriend
Messages: 31
Registered: February 2018
Member
Thank you very much dear Matteo
Re: The modbus library [message #1782946 is a reply to message #1782944] Mon, 05 March 2018 13:56 Go to previous messageGo to next message
Ahmed Gharssellaoui is currently offline Ahmed GharssellaouiFriend
Messages: 31
Registered: February 2018
Member
Thank you very much dear Matteo
Re: The modbus library [message #1783003 is a reply to message #1782944] Tue, 06 March 2018 11:42 Go to previous messageGo to next message
Ahmed Gharssellaoui is currently offline Ahmed GharssellaouiFriend
Messages: 31
Registered: February 2018
Member
Dear Matteo,

I've tried many times to run the example but no graphical interface appeared the Kura,
The example is not compatible with KURA 3.1.1 ??

I have attached the log file and the project files, can you please help me ?
Re: The modbus library [message #1783006 is a reply to message #1783003] Tue, 06 March 2018 12:22 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
I believe that the bundles seem to be correct, but the first lines of the log you posted show an error with the component. Maybe solving that makes your bundle work.

Best regards,
Matteo
Re: The modbus library [message #1783015 is a reply to message #1783006] Tue, 06 March 2018 14:16 Go to previous messageGo to next message
Ahmed Gharssellaoui is currently offline Ahmed GharssellaouiFriend
Messages: 31
Registered: February 2018
Member
Dear Matteo,

Thank you very much for your help and support.
I solved the first log problem, it was duplicated component build, so I had to edit the build file.
However the application still didn't appear in Kura Web Interface.
The only exception left is the MQTT one.
Can you please check the log file and help me to detect what's wrong ?

I really appreciate your time and help.

Kindest regards
Ahmed
  • Attachment: modbusLog2
    (Size: 37.76KB, Downloaded 129 times)
Re: The modbus library [message #1783392 is a reply to message #1783015] Mon, 12 March 2018 14:58 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
What do you see accessing the OSGi console? what is the result of the "ss" and "ls" commands?

Best regards,
Matteo
Previous Topic:Is the Kura platform officially supported on Windows or not?
Next Topic:Command Service
Goto Forum:
  


Current Time: Fri Apr 19 00:48:28 GMT 2024

Powered by FUDForum. Page generated in 0.02865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top