Announcement

Collapse
No announcement yet.

Change Coolgauge Min/Max Value using Visi Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Coolgauge Min/Max Value using Visi Code

    Hello

    Hope you are well.

    I'm using uLCD-32PTU Visi environment and was wondering if there is a way I can change the widget Coolgauge Min/Max value by using Visi code, Instead of using
    the properties window to change its value.

    If possible please send me an example on how to do it or at least something that gives me an idea.

    Thanks.

    Regards
    JacquesJJ

  • #2
    If you are using ViSi then just place the 'other' gauges over the top of each other and only 'set' the value in the version of the gauge that you want showing.
    Mark

    Comment


    • #3
      Is that the only way?

      JacquesJJ

      Comment


      • #4
        The gauges are rendered onto uSD at build time, so the values are 'fixed' because they are on uSD.

        Yes, that is the only way.

        Why is that such a problem?
        Mark

        Comment


        • #5
          The program I'm working on is for different types of vehicles so the Min/Max on the gauge won't be the same.

          JacquesJJ

          Comment


          • #6
            But I said it's simple, you just add the gauges on top of each other and write to the relevant one, one IF to determine the min/max you want and then a frame set and a show for the relevant gauge. Or you could set a variable to the gauges index and do a single set and show at the end.

            Pretty simple really.
            Mark

            Comment


            • #7
              Ok will do thanks for the help.

              JacquesJJ

              Comment

              Working...
              X