• 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

    How to Publisher data point type HTTP Image to another mango.

    How-To
    3
    12
    3.8k
    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.
    • T
      thirawad
      last edited by

      Hi Phildunlap
      Mango Persistent, it available in mango license version.
      I need to try it. How can i get the license for 30 days for 2 GUID.
      if you please me :)

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

        You could try it on a free 2.8.8 Mango, or you can email your two GUIDs in with some information about why you want a trial license, and then we can grant you that.

        T 1 Reply Last reply Reply Quote 0
        • T
          thirawad @phildunlap
          last edited by

          @phildunlap

          1 Reply Last reply Reply Quote 0
          • T
            thirawad
            last edited by

            Thank you very much.

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

              @thirawad You can also email your GUID support@infiniteautomation.com and request a trial license which will be sent back to you. You can find your GUID on under Administration > Modules.

              T 1 Reply Last reply Reply Quote 0
              • T
                thirawad @JoelHaggar
                last edited by

                @joelhaggar
                Thank your very much for your support.
                let me prepare and send GUIDs for request a trial licese.

                So back in to the main topic about Publisher data point type HTTP image
                for now , i'm try to checking in publisher -> Mango Persistent TCP
                on my mango unlicensed type :
                modules core version 3.2.2+20171009170034
                modules persistent version 3.2.1
                I see the data source type numeric, binary but don't have image type to publish.
                Let me show in picture below
                0_1511238875533_d4_1.png
                Is depend on license or not?
                or Mango persistent TCP still can't send the data point type image.

                Thank you for read, help and share.

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

                  Hi thirawad,

                  Well, it looks like you may be the first person trying this in a long time.

                  I tried it, and I discovered the points are not in that table! They should be! I will fix this. However, you can still import the publisher with the XID for the image point, and so long as you don't use those tables to modify the points again (since the image will be missing), you should be fine. Here's the git issue: https://github.com/infiniteautomation/ma-core-public/issues/1152

                  I also discovered the data point details page errors if an image is from a type of data source other than HTTP image. But, you can correct this error by modifying or replacing Mango/web/WEB-INF/snippet/imageValueThumbnail.jsp to be the same as the latest in the repository: https://github.com/infiniteautomation/ma-core-public/blob/main/Core/web/WEB-INF/snippet/imageValueThumbnail.jsp

                  With these two steps, I was able to publish images through the Persistent Publisher.

                  T 2 Replies Last reply Reply Quote 0
                  • T
                    thirawad @phildunlap
                    last edited by

                    Hi phildunlap
                    clever! and thank you very much for your tried.
                    so, because of your mango is very well, i'm very interesting.
                    let me checking by your suggestions.

                    Thank you for read, help and share.

                    1 Reply Last reply Reply Quote 0
                    • T
                      thirawad @phildunlap
                      last edited by

                      Hi Phildunlan
                      it is very well, you are clever and make me happy.
                      so the mango persistent working good!
                      for clearly the step to publish HTTP image as below

                      step1: (mango in raspberry pi) add mango persistent TCP for get publish xid and setting Host, Port and Authorization key. this step we can add all data point except image

                      0_1511349919916_d5_1.png

                      step2 (need only for add image to persistent) if we have data point xid of image already. go to Administration/configuration import/export and export.

                      0_1511350868871_d5_4.png

                      setp3 copy code to text edit and insert xid of image directly with the same format.

                      0_1511351261353_d5_3.png

                      copy all code and paste back to the configuration and import.

                      step4 modifying or replacing Mango/web/WEB-INF/snippet/imageValueThumbnail.jsp to be the same as the latest in the repository: https://github.com/infiniteautomation/ma-core-public/blob/main/Core/web/WEB-INF/snippet/imageValueThumbnail.jsp

                      with 4 step mango in raspberry pi well published to the host.

                      step5 (on PC) setup mango persistent TCP data source to receive. set some port and authorization same as on sender setting (raspberry pi) and test get status.

                      0_1511351815472_d5_5.png

                      all data point form sender side add automatically in to your PC and we got image :)

                      0_1511352063002_d5_6.png

                      Thank you Mr.Phildunlap again for your help.

                      Thank you for read, help and share.

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

                        Hi thirawad,

                        :D

                        Thank you for documenting the solution so clearly. Image points will appear in the publisher's table in 3.3, but this will be helpful until that is released, for sure!

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