Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACnetWriter multiple inputs error #35

Open
minnerbe opened this issue Aug 11, 2016 · 0 comments
Open

BACnetWriter multiple inputs error #35

minnerbe opened this issue Aug 11, 2016 · 0 comments

Comments

@minnerbe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant