eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
299 stars 69 forks source link

[Dashboard] how to watch a global variable? #431

Open dong-king opened 6 days ago

dong-king commented 6 days ago

I use watch action as shown below(changed from SerialPort exmaple), but it didnt work.

  1. add a user action: watchSerial. it watchs serial connection status. image

  2. add watchSerial to page image

Test: when i click Connect button, no output is seen in the logs area. can watch action be used in a user action?

mvladic commented 5 days ago

Watch action alone will not keep user action running, you can add Delay action like this:

image