• 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

    String Variable

    Dashboard Designer & Custom AngularJS Pages
    2
    9
    2.1k
    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
      sky_watcher
      last edited by

      Hello, I have some problems with a string variable which comes from my PLC. The data source has a 5 seconds update period but the string value is updated only every 30 minutes. So if the value changes in the PLC will be updated only after 30 minutes, not instantly or at every 5 seconds.

      Does anybody know why is updating that point at 30 minutes and all the numeric points are updating at 5 seconds?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi sky_watcher, welcome to the forum! I'm not sure "Dashboard Designer & Custom AngularJS Pages" is the section you were looking for.

        What protocol are you using? It sounds like it's probably BACnet. I wonder, is your String point on a COV subscription and the others are not?

        S 1 Reply Last reply Reply Quote 1
        • S
          sky_watcher @phildunlap
          last edited by

          @phildunlap Yes, I'm using BACnet.

          Here are the point settings in mango, and I'm using COV subscription.

          0_1533584055256_2018-08-06_22-30-22.jpg

          And also I've noticed that I have only discarded pools for my database:

          0_1533584112096_2018-08-06_22-31-20.jpg

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by phildunlap

            I think your BACnet data source is probably failing to initialize, but I'm not sure why. Do you have any events on your /ui/events or /events.shtm pages that are related to this data source or the BACnet local device? What are your settings on your local device?

            I would consider stopping Mango, then starting on the command line to see if something was getting to stderr. It's really odd that ALL the poll would abort. The first poll is extremely uncommon to abort. What version of Mango is this?

            Have you been watching your Mango/logs/ma.log file for any exceptions?

            S 1 Reply Last reply Reply Quote 1
            • S
              sky_watcher @phildunlap
              last edited by

              @phildunlap Hi, I've restarted the Mango as you suggested, and now I don't have any discarded poll but in the events page I have this two errors: "'BACnetDB': Error reading value for point BACnetDB - StringWritable: No response from instanceId 140" and "BACnetDB': Error reading value for point BACnetDB - StringWritable: errorClass=device, errorCode=timeout".

              In the ma.log file I don' t have any ERROR message only a WARN massage, I'll put it below:

              WARN 2018-08-07T05:01:06,859 (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers:114) - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping

              Thank you!

              1 Reply Last reply Reply Quote 0
              • phildunlapP
                phildunlap
                last edited by

                Hmm, sounds like it should be polling values then, for points that are not configured to be on COV subscription. So, you could change this point to not be a COV point, then it should update every five seconds with the poll.

                S 1 Reply Last reply Reply Quote 1
                • S
                  sky_watcher @phildunlap
                  last edited by sky_watcher

                  @phildunlap Yes, this was the problem, I've changed that option and now update the point every 5 seconds.

                  What does COV subscription?

                  Thank you!

                  1 Reply Last reply Reply Quote 0
                  • phildunlapP
                    phildunlap
                    last edited by

                    You're welcome!

                    COV stands for 'change of value' and is a way described in the BACnet protocol to inform a device that you would like it to push an update to you if a particular value changes. It's meant to help reduce the traffic on the transport medium, which for MSTP is usually more limited than IP

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      sky_watcher @phildunlap
                      last edited by

                      @phildunlap Thanks again!

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