Skip to content

Periodic Saving #870

Apr 7, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi,

The general solution is probably to instantiate your data pipeline and simply record whenever you want to. You can achieve this using Observables. In the attached workflow, I am recording 2min chunks every 5min. The Timer at the highest level of the workflow will tick every 5min and start an observable that will subscribe to the Data stream. Inside, in each "saving iteration" (i.e. CreateObservable) the data is sinked into a csv and VideoWriter. Once a second Timer (which starts at the same time as the subcription to Data) emits a value, the observable and the corresponding data chunks will close.

Hope it helps,
B
PeriodicRecording.zip

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JulianDay-Cooney
Comment options

@bruno-f-cruz
Comment options

@Brandon-Fricker
Comment options

@bruno-f-cruz
Comment options

@Brandon-Fricker
Comment options

Answer selected by JulianDay-Cooney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants