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

Read mark #79

Open
18792462829 opened this issue May 8, 2024 · 2 comments
Open

Read mark #79

18792462829 opened this issue May 8, 2024 · 2 comments

Comments

@18792462829
Copy link

I want to read all the data streams including:LiveAmpSN-054901-0010-DeviceTrigger - Markers
eeg_markStream - Markers
LiveAmpSN-054901-0010-STETriggerIn - Markers
LiveAmpSN-054901-0010 - EEG。
but the data I saved is missing eeg_markStream-Markers, which is a marker that I sent to LSL myself, and my code prints its name, but it can't read it。
bbd04c8e7db48195cc820ff5bad2d26

@cboulay
Copy link
Contributor

cboulay commented May 8, 2024

Thank you for sharing your code. A few things…

  • please use resolve_streams, not resolve_stream
  • If you wish to find a specific market stream, search by name or construct a predicate string
  • If your objective is to store data, please use LabRecorder. LabRecorder has additional threads in the background that stores clock offsets between the originating computer and the receiving (LabRecorder) computer, and the xdf importers use those offsets to synchronize streams.
  • If you cannot use LabRecorder then you should turn on inlet timestamp post processing.

@18792462829
Copy link
Author

Thank you for sharing your code. A few things…

  • please use resolve_streams, not resolve_stream
  • If you wish to find a specific market stream, search by name or construct a predicate string
  • If your objective is to store data, please use LabRecorder. LabRecorder has additional threads in the background that stores clock offsets between the originating computer and the receiving (LabRecorder) computer, and the xdf importers use those offsets to synchronize streams.
  • If you cannot use LabRecorder then you should turn on inlet timestamp post processing.

Thanks for your advice, I used labrecored to complete my task

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

No branches or pull requests

2 participants