Add active .xdf monitoring for near real-time timeline updates#7
Draft
Add active .xdf monitoring for near real-time timeline updates#7
.xdf monitoring for near real-time timeline updates#7Conversation
4 tasks
Agent-Logs-Url: https://github.com/PhoPersonalOrg/pyPhoTimeline/sessions/4d5a03f1-9a01-4986-99c5-f11d18cc7406 Co-authored-by: CommanderPho <962210+CommanderPho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PhoPersonalOrg/pyPhoTimeline/sessions/4d5a03f1-9a01-4986-99c5-f11d18cc7406 Co-authored-by: CommanderPho <962210+CommanderPho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PhoPersonalOrg/pyPhoTimeline/sessions/4d5a03f1-9a01-4986-99c5-f11d18cc7406 Co-authored-by: CommanderPho <962210+CommanderPho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PhoPersonalOrg/pyPhoTimeline/sessions/4d5a03f1-9a01-4986-99c5-f11d18cc7406 Co-authored-by: CommanderPho <962210+CommanderPho@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add actively recording .xdf file support for EEG data display
Add active Apr 9, 2026
.xdf monitoring for near real-time timeline updates
Collaborator
|
It launches but when there's an actively recording .xdf file the timeline GUI seems to freeze upon launch.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change enables timeline updates from an actively written LabRecorder
.xdfinstead of relying only on new-file discovery. It reuses existing multi-XDF loading/processing paths while adding fallback metadata handling for in-progress files.Active recording selection + metadata fallback
.xdfwhen multiple candidates existmtimefor open/in-progress files)Active
.xdfpolling inTimelineBuilderenable_active_xdf_monitoring(defaultTrue)active_xdf_poll_interval_seconds(default10.0)QTimerpoll loop.(size, mtime_ns)to detect incremental writes.In-place datasource refresh (no duplicate tracks)
intervals_df,detailed_df, raw/lab metadata), then emits datasource change signals so renderers refresh.Shared fallback integration