Announcement

Collapse
No announcement yet.

Triggering the OnChanged functionality by writing to an object from Arduino

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

  • Triggering the OnChanged functionality by writing to an object from Arduino

    I have a form which displays a reading as a string (could be changed to a Custom Digit), I also have a gauge visually showing the reading. I am currently using Visi-Genie.
    I was wondering if its possible to set the gauge to update automatically from the strings OnChanged functionality. As far as I can tell the OnChanged functionality only works if the user inputs a value through the screen not via a WriteObject command.
    I have a time sensitive program and am trying to reduce the amount of Arduino processor time I waste sitting on the WaitForIdle() function used in WriteObject(). I would rather continue with my Arduino code and let the Screen processor update some of the items.
    Also if anyone knows the fastest way to display numerical readings I would very much appreciate any input.

  • #2
    Hi Joelmar,

    Yes, the OnChanged events of widgets are only triggered by user inputs.

    However, if you are using ViSi Genie Magic, you can add code to your project that can allow you to send a single WriteObject and your additional code and update multiple widgets.

    Best Regards

    Comment

    Working...
    X