I am trying to import a .pl2 file into the brainstorm. As indicated by the tutorial, I set pass to the SDK package, and review the raw file. However, I received an error report as the following,
Thank you for the example file.
Indeed, it seems that there is something wrong in the Brainstorm reader.
@mpompolas@MartinC
Could you check your code with the attached file?
Since you have some experience with this file format and this SDK, you might be much more efficient, and I will avoid damaging your existing use cases.
It seems like AnalogChannels{i}.NumValues is not the appropriate place to get the number of samples, since it is set to zero in the example while it is possible to read data from this file with PL2ReadFirstDataBlock.