• 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

    User Input / Configuration

    User help
    3
    4
    1.4k
    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.
    • M
      mrlucretius
      last edited by

      Morning,

      So I have a task to do some calculations on various data point with user configurable scalar variables.

      I am imagining right now that I can create some meta data points, and set the value of these points to a constant, and then use those as the variables for other meta data point calculations.

      My question is, how might I allow a user to adjust the value of the static scalar meta data points?

      Or, is there a better way to do this?

      Thanks,
      Alex

      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by CraigWeb

        I dont see anything wrong with this method. You will have the added advantage of being able to trend the variables. If a point is made settable. One can set it on the data point details page. If you plan on making a UI where they can set the points and preview the outcome then you will use <ma-set-point-value point="myPoint"></ma-set-point-value> In your HTML

        Edit: forgot to mention virtual data points will work best for the variables.

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

          Great, thanks for the pointer to

          <ma-set-point-value point="myPoint"></ma-set-point-value>
          

          that is what I needed.

          Are virtual data points different than meta data points?

          Thanks,
          Alex

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

            Thanks Craig!

            Alex,

            Are virtual data points different than meta data points?

            Yes, briefly,

            Virtual points can:

            1. Have simple change types to simulate data easier.
            2. Performs a 'change' when refresh point value is called
            3. Not be polled so that they're only user updated (data source setting)

            While Meta points can

            1. Have a script executed on cron patterns or from point events (updated, changed, logged)
            2. Have a script executed when the point's value is refreshed
            3. return UNCHANGED; to not update their value

            So very different!

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