Page History: LSL Event Marker Element
Compare Page Revisions
Page Revision: 2023/05/17 03:24
Summary
|
LSL Event Marker
|
Info |
Category: |
Communication |
|
AddIn: |
Signal Processing |
Creator: |
OkazoLab |
|
Scope: |
Parent event |
Owns Snippets: |
None |
|
Usage: |
Snippets |
Properties
Name | Description | Constraints | Type | On runtime change |
---|
LSL Settings |
Stream Type | Defines a type of the LSL stream. Arbitrary type names can be defined, but some software may require the 'Markers' type, in order to process event markers correctly | | String | |
Stream Name | Defines which LSL stream will be connected at runtime. You must have the LSL stream running, when you change this property for the first time. Note that the channel configuration of the element is updated each time as you change this property | | String | |
Marker Type | Define a sample type of the event marker. | | Int32 | |
Working Mode | Define a working mode for the element. | | Int32 | |
Runtime Control |
Marker Value | Defines a value that will be sent as event marker, The value type must match or be convertible to the chosen marker type | | String | |
Send Marker Now | Runtime action that instantly sends an event marker with the current marker value. You have to invoke this action in snippets by 'SendMarkerNow=true;', if the element works in the manual mode. | | Boolean | |
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run | | Boolean | |
Title | Title of the element | | String | |
|
LSL Event Marker Element sends custom text markers to external applications via a single-channel LSL stream.
Description
When you run an experimental task in EventIDE, sometimes it is necessary to send synchronization markers to another applications. For example, you may have EEG recording software running on another computer in a network and you want to mark stimuli and responses in EEG recording. If such external hardware supports the LSL protocol, you can use
one or multiple
LSL Event Marker Elements for that purpose. The
LSL Event Marker Element creates a new LSL stream(s) and instantly sends submitted text markers into it. The LSL timestamps in such streams are based on the experiment time.
Practical Use
The
LSL Event Marker Element can function in one of 2 modes selected by the Woking Mode' property.
Technique 1
- Step 1
- Step 2
...
=== Technique 2 === - Step 1
- Step 2
...
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
...
== Notes ==
... - Insert Notes here..
- Insert Notes here..