begin a stream transfer synchronously?

Discussions related to embedded firmware, driver, and user mode application software development

begin a stream transfer synchronously?

Postby reesebo » Fri Apr 14, 2017 12:04 pm


I would like to use the stream interface, but would like to start the stream based on a timestamp. Is there a way to do this? I can't use the synchronous interface since it blocks; I need to be able to interrupt a transfer and my file size is large.


Posts: 8
Joined: Tue Jun 23, 2015 2:40 pm

Re: begin a stream transfer synchronously?

Postby jump » Sun Apr 16, 2017 1:54 am

Why don't you start the synchronous transfer in a dedicated thread so that it doesn't block your program? Then based on the timestamp, you can choose to discard the samples if you don't need them or write them to a file or to whatever destination you need :)
Posts: 56
Joined: Mon Mar 03, 2014 5:31 pm

Return to Software development

Who is online

Users browsing this forum: No registered users and 4 guests