Skip to content

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

@BrijeshAnchan

Description

@BrijeshAnchan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions