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

Add PyLSL data format version. #7

Merged
merged 2 commits into from Nov 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions pupil_lsl_relay.py
Expand Up @@ -18,6 +18,7 @@
from plugin import Plugin
from pyglui import ui

VERSION = '2.0'

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
Expand Down Expand Up @@ -98,6 +99,7 @@ def construct_streaminfo(self):
channel_format=lsl.cf_double64,
source_id=self.outlet_uuid,
)
stream_info.desc().append_child_value("pupil_lsl_relay_version", VERSION)
xml_channels = stream_info.desc().append_child("channels")
for chan in self.channels:
chan.append_to(xml_channels)
Expand Down