BrainVision Format file Reader

Concerning processing components: filters, file load/save, visualizations, communication ...
Post Reply
Lisa
Posts: 6
Joined: Tue Sep 27, 2022 11:56 am

BrainVision Format file Reader

Post by Lisa »

Dear Open Vibe experts,

while creating a processing pipeline, a problem with the BrainVision Format file Reader came up. When taking the *.hdr file as input i get the error, that the two other according files *.eeg & *vmrk cannot be found, but they are saved in the same data path as the *.hdr file. The paradigm is running but with no signal showing. How can that be? Using GDF inputs never was a problem for me, so it must have something to to with the BrainVision files. Am I doing something wrong?

Thanks a lot and all the best,
Lisa

Thomas
Posts: 211
Joined: Wed Mar 04, 2020 3:38 pm

Re: BrainVision Format file Reader

Post by Thomas »

Hi Lisa,

Looking at the code of the box, it seems that the box tries to read these files in the same path as the header file.
Could you share the error messages you are seeing?

Could you potentially share some files ? I have never had the chance to use this box so I could probably understand more with some data.

Thanks you,
Thomas

Lisa
Posts: 6
Joined: Tue Sep 27, 2022 11:56 am

Re: BrainVision Format file Reader

Post by Lisa »

Hi Thomas,

thank you for your reply!

The error messages are the following:
[ ERROR ] Could not open file [C:/Users/lisa/Desktop/$b.eeg]
[ ERROR ] Could not open file [C:/Users/lisa/Desktop/$b.vmrk]

The header file is also saved in the same path.

Also, I will send you a data file to test it out.

Thanks,
Lisa

Thomas
Posts: 211
Joined: Wed Mar 04, 2020 3:38 pm

Re: BrainVision Format file Reader

Post by Thomas »

Hi Lisa,

Thanks for the details and for the files you sent me in a private message.

Looking at the header file you sent me, it indeed indicates the names of marker and data files as "$b.vmrk" and "$b.eeg".

However your marker and data files are not named this way, so it cannot open them.
You can open the header file in a text editor and modifiy the DataFile and MarkerFile lines manually to reflect the actual names of your files and OpenViBE will be able to read them.

Cheers,
Thomas

Lisa
Posts: 6
Joined: Tue Sep 27, 2022 11:56 am

Re: BrainVision Format file Reader

Post by Lisa »

You're right, that was it!
Thanks a lot for your great help and all the best
Lisa

Post Reply