byte_triggers.LSLTrigger🔗
- class byte_triggers.LSLTrigger(name)[source]🔗
Trigger sending values on an LSL outlet.
Make sure you are recording the stream created by the
LSLTrigger
alongside your data. e.g. if you use LabRecorder, update the stream list after creating theLSLTrigger
.Warning
Make sure to close the
StreamOutlet
by calling theclose()
method or by deleting the trigger after use.- Parameters:
- name
str
Name of the trigger displayed on the LSL network.
- name
Attributes
Name of the trigger displayed on the LSL network.
Trigger outlet.
Description of the trigger outlet.
Methods
Notes
The
StreamOutlet
created has the following properties:Name:
f"{name}"
Type:
"Markers"
Number of channels: 1
Sampling rate: Irregular
Data type:
np.int8
Source ID:
f"FCBG-{name}"
The values sent must be in the range of strictly positive integers defined by
np.int8
, 1 to 127 included.- signal(value)[source]🔗
Send a trigger value.
- Parameters:
- value
int
Value of the trigger, between 1 and 255.
- value
- property outlet🔗
Trigger outlet.
- Type:
- property sinfo🔗
Description of the trigger outlet.
- Type: