EmotiBit / ofxEmotiBit

OpenFrameworks library and examples for the EmotiBit
MIT License
33 stars 7 forks source link

Missing LSL timestamp columns in the parsed data #234

Open nitin710 opened 4 months ago

nitin710 commented 4 months ago

Describe the bug the LslMarkerSourceTimestamp and LslLocalTimestamp columns in parsed data are zeros, even with a marker generator present. image

Expected behavior those columns should contain the extrapolated LSL time.

Additional details

Looking at the raw data files Looks like the source of the problem is the raw data. Looks like the TX packet is for some reason also containing the original LM packet, instead of just having the TLxLC and LCxLM timestamps. Link to relevant code in 1.9.0-alpha Link to relevant code in v1.8.4 image

To Reproduce Steps to reproduce the behavior:

  1. Record data with LSL marker on v1.9.0-alpha with LSL marker stream running and oscilloscope setup to accept this stream.
  2. Enable LC and LM parsing in parsedDataFormat.json in EmotiBit data parser.
  3. observe those columns containing 0
  4. Run the experiment with v1.8.4 and it works.