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

DataParser: Improve user instructions when too few timesyncs are found #111

Closed
nitin710 opened this issue Apr 28, 2022 · 3 comments · Fixed by #106
Closed

DataParser: Improve user instructions when too few timesyncs are found #111

nitin710 opened this issue Apr 28, 2022 · 3 comments · Fixed by #106

Comments

@nitin710
Copy link
Collaborator

nitin710 commented Apr 28, 2022

Description

If too few time syncs are found, add user instructions to better educate people how to improve data collection

Proposed output

		std::string instructions = "Less than 2 timesyncs found. Follow these instructions to improve recodring process:\n";
		instructions += "\t1. Allow EmotiBit to be connected to network for as long as possible\n";
		instructions += "\t2. Allow EmotiBit to be connected to Oscilloscope at least for 1 min at the begining and end of record session\n";
@nitin710
Copy link
Collaborator Author

Output when you get less than 2 timestamps
image

nitin710 added a commit that referenced this issue Apr 28, 2022
@produceconsumerobot
Copy link
Collaborator

WARNING: Data file was parsed with less than 2 time-sync events, which can reduce the timestamp accuracy.

EmotiBit periodically generates time-sync events while a connection is established with the EmotiBit Oscilloscope software. At a minimum, it's recommended to keep EmotiBit connected to the EmotiBit Oscilloscope software for at least one minute after starting data recording AND re-establish connection with EmotiBit Oscilloscope software (using the same computer on which recording was started) for at least one minute before stopping data recording.

To further improve timestamp accuracy, it's optimal to keep EmotiBit connected to the EmotiBit Oscilloscope software throughout recording to generate many time-sync events in the data file.

@nitin710
Copy link
Collaborator Author

nitin710 commented Apr 29, 2022

New message according to the previous comment
image

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

Successfully merging a pull request may close this issue.

2 participants