set a timer to workflow #1023
-
Hello, I need help on how to add a timer to my workflow such that the video capture will stop after the assigned duration and I only have to hit Start. I see two 'timer' nodes when I search but I don't know which one to use. I've tried them both and put in 10 seconds as an example but nothing happened and the recording did not stop after 10 seconds. I have two webcams that I'm getting video out of, and I want the timer to apply to both of them at the same time. Appreciate any help, thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
bruno-f-cruz
Sep 5, 2022
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MahnoorK1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heya,
If you want a timer that is specific for the sequences of the cameras you can use
TakeUntil
with aTimer
as the triggering event:Alternatively, if you want to stop the whole workflow, as your title suggests, you can use a
Timer
connected to aWorkflowOutput
. This last trick works because upon the termination of any sequence connected to aWorkflowOutput
, the workflow will be closed.Hope it helps,
Bruno