Issue with Stimulations codes in the BrainVision Format File Writer/Reader
Posted: Tue Apr 18, 2023 5:40 pm
Good evening.
My name is Filippo and i'm experiencing an issue with the BrainVision Format File Writer/Reader (I still don't know which of the two boxes is causing the issue).
The issue is the following:
The following files are all correctly generated ✔ by the writer
- filename .eeg
- filename .vhdr
In the sense that the content is correctly visualized and read by the reader.
In particular there is an issue with the file
- filename .vmrk
It's content is correctly written and is present in the file.
(as I can report with this example of the file)
But for some reason when OpenVibe tries to read the file it fails in recognizing the true values of the stimulation and prints the following (through Stimulation Listener)
Each and every stimulation is recognized as OVTK_StimulationId_Label_00 which is not true, and can be seen from the .vmrk file because it instead contains
- OVTK_StimulationId_ExperimentStart
- OVTK_StimulationId_Label_0
- and OVTK_StimulationId_TrialStart
How can i make OpenVibe actually recognize the true value of the stimulations ?
Any help and workaround would be very much appreciated.
Thanks very much.
Filippo Castellani
My name is Filippo and i'm experiencing an issue with the BrainVision Format File Writer/Reader (I still don't know which of the two boxes is causing the issue).
The issue is the following:
The following files are all correctly generated ✔ by the writer
- filename .eeg
- filename .vhdr
In the sense that the content is correctly visualized and read by the reader.
In particular there is an issue with the file
- filename .vmrk
It's content is correctly written and is present in the file.
(as I can report with this example of the file)
Code: Select all
Brain Vision Data Exchange Marker File, Version 1.0
[Common Infos]
DataFile=EEGEMG_data_training-[2023.04.05-12.02.21].eeg
[Marker Infos]
Mk1=Stimulus,OVTK_StimulationId_ExperimentStart,8484,1001,0
Mk2=Stimulus,OVTK_StimulationId_Label_01,11484,1001,0
Mk3=Stimulus,OVTK_StimulationId_TrialStart,13671,1001,0
HERE THE FILE CONTINUES...
Code: Select all
[ INF ] At time 8.484 sec <Box algorithm::(0x00000dcb, 0x000046ae) aka Stimulation listener> For input 0 with name Stimulation stream 1 got stimulation 33024[OVTK_StimulationId_Label_00] at date 8.484 sec and duration 1.001 sec
[ INF ] At time 11.484 sec <Box algorithm::(0x00000dcb, 0x000046ae) aka Stimulation listener> For input 0 with name Stimulation stream 1 got stimulation 33024[OVTK_StimulationId_Label_00] at date 11.484 sec and duration 1.001 sec
[ INF ] At time 13.672 sec <Box algorithm::(0x00000dcb, 0x000046ae) aka Stimulation listener> For input 0 with name Stimulation stream 1 got stimulation 33024[OVTK_StimulationId_Label_00] at date 13.671 sec and duration 1.001 sec
- OVTK_StimulationId_ExperimentStart
- OVTK_StimulationId_Label_0
- and OVTK_StimulationId_TrialStart
How can i make OpenVibe actually recognize the true value of the stimulations ?
Any help and workaround would be very much appreciated.
Thanks very much.
Filippo Castellani