Announcement

Collapse
No announcement yet.

Links (onchanged, onchanging) between widgets dont work

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

  • Links (onchanged, onchanging) between widgets dont work

    Hello everybody
    I'm PhilF76550, new user of 4d intelligent display

    I use a µLCD 43-P v4.4 and visigenie.
    The links between widgets ( events OnChanging, OnChanged) dont work.
    Each widget well works alone, but they dont work together...
    Anyone have an idea ?
    I apologize for my poor english
    Best regards
    Phil

  • #2
    Hi Phil,

    Welcome to the forum!

    Can I ask what widgets are you using?
    We have an application note which explains the two events raised by an object - onChanging and onChanged, perhaps this may help you:
    AN-00002 ViSi-Genie onChanging and onChanged Events
    https://4dsystems.com.au/blog/4d-an-00002/

    I hope this helps.

    Best Regards,
    Kevin

    Comment


    • #3
      Hi kevin
      i use trackbar, meter and led digits.
      I had seen the application note, but the potential communication problems between components are not addressed.
      Could it be because µLCD 43P isn't a tactctile display ?
      Or v 4.4 picaso display is not compaible with theese software functions ?
      Best regards
      Phil

      my project : board computer for my all terrain electric wheelchair

      Comment


      • #4
        Hi Phil

        Unfortunately the uLCD-43P is not a touch enabled display. We denote touch screens with a T or CT for capacitive touch so the uLCD-43P is just an intelligent display without an attached touch panel.

        https://4dsystems.com.au/products/4d...odules/sk-43pt

        Best regards

        Paul

        Comment


        • #5
          hi Paul
          I think I was not enough understandable
          My answer was
          "Is the µLCD 43P compatible with link functions between widgets?"
          does exist an application note witch explains how to read/write on the SD card ?
          Best regards
          Phil

          Comment


          • #6
            Hi Phil,

            Sorry, yes I misunderstood.

            The On Changed and On Changing events occur when an avent happens on screen eg via a touch event. If you control a slider or object that is usually a touch object via serial then the event isn't cascaded through to the linked object.

            One example would be Slider that has an On Changing event to a LED Digit. While the slider is being operated by touch then the event value would be passed to the LED digit which would update the LED digit as the Slider moves. If the Slider value was changed via Serial then only the Slider will update. The way around this would be to update both via serial.

            You can test this with the GTX tool which you will find under the Tools tab in Workshop 4

            As you are using a non touch screen you may find the serial SPE environment useful. You can still create a GUI in Workshop 4 and have access to all the file read write commands. You haven't mentioned the host that you are using, but by using one of our libraries the serial SPE commands are easy to use.

            Best regards

            Paul

            Comment


            • #7
              hi Paul
              Thank you for your quick complete answer.
              The host will be an arduino mega

              The program in the host will be in charge to update all widgets :

              Mains functions
              check the batteries and the power consumption in real time,
              calculate in real time the the climbed height, which decreases the autonomy a lot, (I live in a bumpy area)
              I can use only my rigth hand to drive my electric wheel chair, and I can't release the handlebars to play with a touch screen if I don't want to finish my race in the decor ;-))) => I'll navigate in the application by using a mini joystick with only one finger...
              best regards
              Phil

              Comment

              Working...
              X