losevskiyfz opened a new issue, #2062:
URL: https://github.com/apache/plc4x/issues/2062
### What happened?
I use NiFi 2.3.0 docker container.
I installed unreleased version of
org.apache.plc4x:plc4j-nifi-plc4x-nar:0.13.0-SNAPSHOT@nar to ${NIFI_HOME}/libs
for NiFi 2.x.x compatibility. I used info from -
https://github.com/apache/plc4x/issues/1984
When I add address to access an array of data it actually puts in header not
array but a single value of last index of array. I tried it out only for Modbus
and Simulated protocols, but I think it might also occur with other protocols
with arrays.
Error reproduction:
1) I have set registers according
https://plc4x.apache.org/plc4x/latest/users/getting-started/virtual-modbus.html

2) I defined a processor to access several Modbus registers in array

3) When I check a file attribute there is just the last index of array value.

### Version
v0.12.0
### Programming Languages
- [ ] plc4c
- [ ] plc4go
- [x] plc4j
- [ ] plc4net
- [ ] plc4py
### Protocols
- [ ] AB-Ethernet
- [ ] ADS /AMS
- [ ] BACnet/IP
- [ ] C-Bus
- [ ] CANopen
- [ ] EtherNet/IP
- [ ] Firmata
- [ ] IEC-69870
- [ ] KNXnet/IP
- [x] Modbus
- [ ] OPC-UA
- [ ] Profinet
- [ ] S7
- [ ] S7-light
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]