• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Priority Array

    BACnet4J general discussion
    2
    8
    4.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sb
      last edited by

      Hi
      I'm new to BACNet. I wrote a small controller to expose some BACNet objects and some properies. But when I try to write a value to a property using CAS BACNet Explorer using priority other than 'undefined' it's giving an error. Will you be able to give me a working example with priority arrays.

      thanks
      sb

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        What's the error?

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • M
          mlohbihler
          last edited by

          ... and what object type are you trying to write to?

          Best regards,
          Matthew

          1 Reply Last reply Reply Quote 0
          • S
            sb
            last edited by

            I'm writing to analogoutput type of objects.
            When I write thru the CAS BACNet explorer with priority of 1 it says write access denied and on the java log I could see the listener method "allowPropertyWrite" was called but not the "propertyWritten" method. But when I write with undefined priority both methods are being called.

            this is how I'm definiing the object properties:
            ao0.setProperty(PropertyIdentifier.objectName, new CharacterString(wp.getName()));
            ao0.setProperty(PropertyIdentifier.presentValue, new Real(1)); ao0.setProperty(PropertyIdentifier.outOfService, new Boolean(false));
            ao0.setProperty(PropertyIdentifier.units, EngineeringUnits.percent);
            ao0.setProperty(PropertyIdentifier.description, new CharacterString("31233232132"));
            ao0.setProperty(PropertyIdentifier.timeDelay, new UnsignedInteger(90));
            ao0.setProperty(PropertyIdentifier.priorityArray, new PriorityArray());
            ao0.setProperty(PropertyIdentifier.relinquishDefault, new Real(0));

            thanks for your immediate response.
            SB

            1 Reply Last reply Reply Quote 0
            • M
              mlohbihler
              last edited by

              Priority array handling and commandable values had not been implemented. I have added that now, but you'll need to check out the latest source and build into a jar with ANT.

              Best regards,
              Matthew

              1 Reply Last reply Reply Quote 0
              • S
                sb
                last edited by

                Thanks. it worked.

                1 Reply Last reply Reply Quote 0
                • M
                  mlohbihler
                  last edited by

                  Cool. Note that there are a couple limitations in the implementation.

                  1. The min on/off times for binaries (priority 6) are not coded.
                  2. The timing stuff around access doors is also not done.

                  Best regards,
                  Matthew

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post