Recorder

Why you need a recorder?

In technique details, readers in EmBCI are designed as realtime data streams, which means:

1. A stream has a source, but the source may be various (there are LSLReader, TCPReader, SPIReader etc.)

2. It is not suggested for user to fetch the same data twice - if not saved(recorded), data will finally flow away.

Readers are just abstraction on data sources, but they don’t know when to start or stop saving data to files on disk. On embedded devices, storage space is usually small and it’s not a good idea to cache data all the time.

Develop target

  • [x] Recorder should support start, pause, resume, stop

  • [x] Recorder should support change of username

  • [x] Let command listener occupy main thread

  • [x] Record both data, timestamp, and event

This file will make recorder a module and provide class Recorder

embci.apps.recorder.debug(v=True)

Screenshots

Recorder manager Setting username HTML snippet Setting username