labstreaminglayer icon indicating copy to clipboard operation
labstreaminglayer copied to clipboard

Performance Metrics Timestamp

Open QQAI13 opened this issue 1 year ago • 7 comments

Hi, I've updated to the newest version(3.6.8.497) of emotiv pro, and found that the timestamp output by performance metrics and band power were both wrong. (the EEG one is correct) I tried to print the sample variable of performance metrics and found the position of which timestamp should show is 0, thus i cannot translate it into correct datetime. Any solution for it? image

QQAI13 avatar Sep 26 '23 09:09 QQAI13

Hi @QQAI13 . Which example are you using?

hoangphamemotiv avatar Sep 26 '23 09:09 hoangphamemotiv

Hi @QQAI13 . Which example are you using?

Hi, I tested it by real person data, should I use another example data to try? sorry for I'm not very familiar with this software right now.

QQAI13 avatar Sep 26 '23 09:09 QQAI13

@QQAI13 i'm trying to see how you print timestamp for Performance metrics. It should be a double value like: 1695717560.8083

hoangphamemotiv avatar Sep 26 '23 09:09 hoangphamemotiv

Hi @QQAI13 . Which example are you using?

Hi, I tested it by real person data, should I use another example data to try? sorry for I'm not very familiar with this software right now.

what code example you are running ?

tanphamv avatar Sep 26 '23 09:09 tanphamv

@QQAI13 i'm trying to see how you print timestamp for Performance metrics. It should be a double value like: 1695717560.8083

I used python StreamInlet.pull_sample() function to get the data of eeg output, and print the sample directly like above, and the code is written by ourselves.

QQAI13 avatar Sep 26 '23 09:09 QQAI13

we have example here, pls try https://github.com/Emotiv/labstreaminglayer/blob/master/examples/python/ReceiveData.py

tanphamv avatar Sep 26 '23 09:09 tanphamv

we have example here, pls try https://github.com/Emotiv/labstreaminglayer/blob/master/examples/python/ReceiveData.py

Hi, I've tried it and got the similar result (other parameters are -1 due to no one was wearing equippment then)

image

Edited:

Here are code and output:

image

QQAI13 avatar Sep 27 '23 07:09 QQAI13