StreamWatcher
dareplane_utils.stream_watcher.lsl_stream_watcher.StreamWatcher(
name='',
buffer_size_s=2,
logger=logger,
)Methods
| Name | Description |
|---|---|
| connect_to_stream | Either use the self.name or a provided identifier dict to hook up |
| disconnect | Destroying the inlet will disconnect -> see pylsl.pylsl.py |
| update_char_p | Look for new data on the LSL inlet and update the buffer, processing for strings |
| update_numeric | Look for new data on the LSL inlet and update the buffer |
connect_to_stream
dareplane_utils.stream_watcher.lsl_stream_watcher.StreamWatcher.connect_to_stream(
identifier=None,
)Either use the self.name or a provided identifier dict to hook up with an LSL stream, they should coincide
disconnect
dareplane_utils.stream_watcher.lsl_stream_watcher.StreamWatcher.disconnect()Destroying the inlet will disconnect -> see pylsl.pylsl.py
update_char_p
dareplane_utils.stream_watcher.lsl_stream_watcher.StreamWatcher.update_char_p()Look for new data on the LSL inlet and update the buffer, processing for strings
update_numeric
dareplane_utils.stream_watcher.lsl_stream_watcher.StreamWatcher.update_numeric()Look for new data on the LSL inlet and update the buffer