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
   
   
![Image](https://github.com/user-attachments/assets/2e9e14dc-76a8-4e6b-b349-e49a2b3eb12e)
   
   2) I defined a processor to access several Modbus registers in array
   
   
![Image](https://github.com/user-attachments/assets/4f535c40-2b85-49a8-9696-8e16daf470bd)
   
   3) When I check a file attribute there is just the last index of array value.
   
   
![Image](https://github.com/user-attachments/assets/be8d5dd1-de5a-4d39-b008-963f15f50d4a)
   
   ### 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: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to