eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
506 stars 312 forks source link

Modbus write to asset channel problem #1983

Closed mgogic closed 6 years ago

mgogic commented 6 years ago

Component affected:

Textual description of the issue:

Is it possible to perform Modbus write to single asset channel? When I try with ModbusPal 1.6b to write on single asset channel, write occures on all channels.

Regards, Milan

MMaiero commented 6 years ago

Hi, could you please provide a description of the steps taken, in order to reproduce the issue? Are you using the asset in the wire composer or only in drivers and assets? In which way are you interacting with the asset?

Thanks. Best regards, Matteo

mgogic commented 6 years ago
MMaiero commented 6 years ago

Yes, that tab does not perform checks on fields changed, but simply writes all the values. In any case, the APIs support the writing of a simple channel (wires too). We can take this as a possible improvement of the Data tab in Drivers and Assets. Thanks for reporting that.

Maybe someone is willing to contribute that change.

markoer commented 6 years ago

As it turns out, Kura doesn't work properly if assets/channels are not configured properly (i.e. all channels point to the same memory location). After @mgogic reconfigured the channels, all was fine. If you want to keep the issue as a UI enhancement, that's OK, otherwise please close it.

MMaiero commented 6 years ago

Let's close it for the time being. We'll reopen it when needed.