Skip to content

LSL Streaming module for the ViewPoint eye-tracking system.

License

Notifications You must be signed in to change notification settings

fcbg-hnp-meeg/lsl-viewpoint

Repository files navigation

Ruff Code style: black Imports: isort tests

LSL ViewPoint

LSL application for the viewpoint eye-tracker system. Designed for x64 bits windows systems only.

Installation

This LSL application is a python package. It can be installed with pip from source:

pip install git+https://github.com/fcbg-hnp-meeg/lsl-viewpoint

Configuration

This LSL application requires 2 configuration variables: the path to VPX_InterApp_64.dll and the set sampling rate. The VPX_InterApp_64.dll should be the one in use by the ViewPoint application. Both configuration variables can be set with lsl_viewpoint.set_config:

from lsl_viewpoint import set_config

path = "C:/Applications/Arrington/VPX_InterApp_64.dll"
sfreq = 60
set_config(path, sfreq)

The configuration variables are saved in a file ~/.lsl-viewpoint.

Streaming data to LSL

The stream of data starts as soon as the module lsl_viewpoint.callback is imported. Thus from lsl_viewpoint.callback import VPX will start the streaming. It is not recommended to ever import the callback module. Instead, the entry-point lsl_viewpoint should be called in a terminal:

lsl_viewpoint --help