I’m having a problem when trying to use two stopwatch widgets in the same app. I’ve set up two distinct sets of parameters (Flag and Duration for each), but when I test the app and press the “Run” button—which sets the respective Flag to “Yes”—both stopwatches start running at the same time.
Interestingly, after this initial trigger, everything works fine. I can stop and rerun each stopwatch individually without issues.
Has anyone encountered this behavior before? Any ideas on what might be causing both stopwatches to start together?
Are you using the stopwatch from the Tulip Library? https://library.tulip.co/apps/stopwatch-widget Or have you made your own? My understanding is the Tulip Library stopwatch starts automatically but you can use the built in “stop” variable to control when to start both stopwatches.
So for example, I made a quick demo here. I made “stop watch 1 start” variable for the stop on stop watch 1 and I set that value to default “true.” I did the same for stop watch 2 (separate variable but same process)
I then made a button with a trigger to run each respective stopwatch with this logic to change the “stop watch 1 start” variable to “false” and thus start the stopwatch.