bcvtb icon indicating copy to clipboard operation
bcvtb copied to clipboard

BACnetWriter multiple inputs error

Open minnerbe opened this issue 9 years ago • 0 comments

Everytime I try to write multiple values with different application-tags via the BACnetWriter-actor, I get the error 'BACnet Error: property: invalid-data-type'. The error occurs when the application tag of consecutive values changes (e.g. from 'Real' to 'Enumerated'), regardless of how many values with the same application-tag were written prior to this. Also, the error doesn't seem to be in the xml-configuration-file as all of the values can be written individually via the BACnetWriter-actor. Also multiple values can be written simultaneously as long as they have the same application-tag

After a look at the source code, I suspect that the cause of this error might be in the method (file BACnetDeviceManager.java, line 796) bacnet.util.BACnetDeviceManager.getProcesses. I sense that the value of the application-tag updated during the iteration over all objects, because in each iteration step, the value is set to BacnetApplicationTag appt = BacnetApplicationTag.valueOf(pro_app);, but pro_app is set to final String pro_app = prop_arr.get(0).getApplicationTag(); at the beginnig of the method.

minnerbe avatar Aug 11 '16 13:08 minnerbe