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

Only one value appearing in "value" of Status Flags #148

Open
BrijeshAnchan opened this issue Jun 25, 2020 · 0 comments
Open

Only one value appearing in "value" of Status Flags #148

BrijeshAnchan opened this issue Jun 25, 2020 · 0 comments

Comments

@BrijeshAnchan
Copy link

Node Version: 12.18.1

Node BACstack Version: 0.0.6

Question
The Status flag is supposed to be an array of length 4 ( like [0,1,1,0] ), but I only get one 0 ( {"value":[0], "bitsUsed":4} ) when I run the readPropertyMultiple() function on an Analog Value Object. Which flag is it referring to among IN_ALARM, FAULT, OVERRIDDEN and OUT_OF_SERVICE ?

I am trying to make use of the FAULT bit in the Status Flags, how can I achieve this?

statusJson

statusFlag

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