• 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

    datapoint value to file

    User help
    3
    18
    6.9k
    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.
    • phildunlapP
      phildunlap
      last edited by

      Most unfortunate! I am not very familiar with command prompt commands offhand, and all of my SSH example is geared toward Linux. It is possible to install an SSH server on Windows and run batch commands this way, but I haven't done it. Are you running on SQL? Option 2, querying the database directly is likely easier. Or you could create your own table and use the SQL data source to populate it. You could also have a program that subscribes to our API to get points and write them into the format you need.

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

        i use the h2 database.
        conecting to the api might be a solution, dont know how to write a program for that.
        ill gues it will be a lot of reading on the interweb...

        it is to bad the csv file from the report that can be emailed to me is not a file stored in the mango installation.

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

          You can check out the endpoints available in your version by setting swagger.enabled=true in your env.properties, restarting and navigating to http://mangourl:port/swagger

          You will need to make a login request to begin getting data, and if you update to later versions of the software you will need to record the XSRF token returned to you at login for subsequent requests.

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

            If i navigate to /swagger i got a forbidden page.
            i cannot see the endpoints :(

            1 Reply Last reply Reply Quote 0
            • JoelHaggarJ
              JoelHaggar
              last edited by

              You need to enable swagger in the bottom of the env.properties file and then restart Mango.

              You should upgrade to Mango 2.7 as 2.5 is not going to be supported any more. You mentioned something was slow on your test upgrade but didn't provide any details. Mango 2.7 is not somehow slower than 2.5 and has several performance improvements. You must have an issue that can be solved. It might be something simple like you need to clear your browser's cache.

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

                Hi Joel,

                As i rembered i gave you some details.
                showing the graphical view was slower after the upgrade, that was really anoying

                i have to test the new version first before i upgrade.
                is it possble to have 2 mango runing on one computer ?

                i enabled the swagger in the env file.
                the env file is a mess, maybe that is the problem ?
                i changed false in to true

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

                  Yes, you just need to modify the env.properties file to launch the second Mango on different web.port than the first.

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

                    i copied the mango folder in to the mango 2.7 folder
                    after the 2.5 is started i will perform an upgrade.
                    wil post the results here

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

                      Joel,

                      i am trying to upgrade for a while now.
                      is there a nice tutorial for upgrade ?

                      i copied my mango folder to a new folder started the mango and pressend update.
                      result all modules where upgraded exept for the core.
                      upgrading the core failed.

                      at the moment i am doing the same again, and try to upgrade the core first with the upgrade function

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

                        finaly i got it up and running, now i am missing values from one data point, ill gusess something went wrong while updating :(
                        the performance of the graphical view is better than the upgrade to 2.6.

                        now find out how to fix the missing value's and than renaming the folder to mango and it should work

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