LSL enables you to stream and record data in real-time. This will be the toolbox for script template after you finish the tutorial. It also explain the common scripts such as streaming data/markers ...
LSL provides the possibility to easily generate your own data and marker streams. Here you can find examples for how to send or receive data for several programming languages including C, C++, Python, ...