Changes

Jump to navigation Jump to search
521 bytes added ,  16:12, 1 February 2022
no edit summary
Line 27: Line 27:  
     | downloads          =  
 
     | downloads          =  
 
     | manuals            = {{bulleted list
 
     | manuals            = {{bulleted list
         | [https://docs.unity3d.com/Manual/index.html Official Documentation]
+
         | [https://docs.openbci.com/ Documentation]
 +
        | [https://sccn.ucsd.edu/~mgrivich/LSL_Validation.html LSL Validation]
 +
        | [https://labstreaminglayer.readthedocs.io/info/supported_devices.html Supported Devices and Tools]
 +
    }}
 +
    | header2            = Templates
 +
    | data2              = {{bulleted list
 +
        | [https://surfdrive.surf.nl/files/index.php/s/qggfMMKsnUIDO0k example scripts (zip)]
 
     }}
 
     }}
 
   }}
 
   }}
Line 83: Line 89:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
==References==
+
A short example for receiving lsl data:
<references />
+
<syntaxhighlight lang="python" line>
 +
#!/usr/bin/env python
 +
 
 +
from pylsl import StreamInlet, resolve_stream
   −
==External Links== <!-- Optional -->
+
streams = resolve_stream('name', 'MyStream')
*{{Official website|https://unity3d.com}}
+
#streams = resolve_streams()
*[https://docs.unity3d.com/Manual/index.html Official Documentation]
+
 
 +
inlet = StreamInlet(streams[0])
 +
while True:
 +
    sample, timestamp = inlet.pull_sample()
 +
    print(timestamp, sample)
 +
</syntaxhighlight>

Navigation menu