Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically RestartRecording - Questionable default behavior #31

Closed
adv4ncr opened this issue Oct 7, 2024 · 3 comments · Fixed by #32 or #37
Closed

Automatically RestartRecording - Questionable default behavior #31

adv4ncr opened this issue Oct 7, 2024 · 3 comments · Fixed by #32 or #37

Comments

@adv4ncr
Copy link

adv4ncr commented Oct 7, 2024

Hi Davide,
Thank you for creating such a great capture tool. We use it extensively in our research.
While recording a long dataset, I noticed the somewhat questionable default behavior of data_tamer to clear and restart the current measurement after 10 minutes:

if(now - start_time_ > reset_time_)
{
restartRecording(filepath_, compression_);
}

I have increased the reset time with setMaxTimeBeforeReset(), but the default behavior may not be obvious to many people, especially since the existing measurement file is overwritten without notice.
In my opinion it would be better not to automatically restart the measurement or to automatically create a new file with a counter appended to the filename.

What do you think?

Yours
Vinc

@henrygerardmoore
Copy link
Collaborator

I made #32 to allow for unlimited recording, please feel welcome to add a comment there on your preferred usage! There are a couple different options, and I'd be happy to implement any of them depending on your and @facontidavide's preferences.

@facontidavide
Copy link
Collaborator

I agree that default should change.
Creating a new file should also be an option

@henrygerardmoore
Copy link
Collaborator

That seems like a good idea. I'll merge #32 as-is and make a separate PR to allow for creating new files, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants