Skip to content

Synching Arduino AnalogInput with Video? #2060

Answered by bruno-f-cruz
nghess asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Bruno, The goal is to produce a single sample of the AnalogInputs per video frame. I had tried using a Sample node, triggered by the incoming frame, but that didn't work well. the current workflow works for the most part, but the approach is sloppy and I am still experiencing some frame drop.

Assuming I am understanding this currently, would you simply want to use a WithLatestFrom instead? E.g.:

The frame drops present as large chunks of consecutive dropped frames. The problem is more apparent when the SampleInterval interval is smaller than the framerate. --I'm assuming that the large number of AnalogInput samples is gumming the works. This frame drop issue also shows up for the c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nghess
Comment options

@bruno-f-cruz
Comment options

Answer selected by nghess
@nghess
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants