-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open .raw file in Ubuntu, but in Windows works. #27
Comments
do you actually get correct or reasonable result on Windows? I suspect Windows to simply swallow and hide the error message. The issue originates from a apparent mismatch between the size of the data buffer and the inferred datatype size times the channel length. Can you tell what datatype(s) you expect? Anyway, if you were able to share some exemplary sample of the ".raw" file you are trying to read, it would be extremely helpful in order to fix this. Best regards |
I checked on Windows, and it seems to be working fine. I do get data (i.e. chnydata = channelsdata[0]['ydata'] returns values). Unfortunately, It's confidential file and I can't share it here. However I will be more than happy to run any code snippet that would be useful for debugging on my Windows or Ubuntu machine |
Hi, // e.g. ARM Cortex-A72 armv7l gcc version 10.2.0 (Ubuntu 10.2.0-13ubuntu1)
// #ifdef __arm__
// typedef unsigned long int imc_Ulongint;
// typedef signed long int imc_Slongint;
// e.g. Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz x86_64 gcc version 10.2.0 (Ubuntu 10.2.0-13ubuntu1)
// #ifdef i386 __i386 __i386__
typedef unsigned int imc_Ulongint;
typedef signed int imc_Slongint; Maybe it helps someone in the future. |
Hi there,
In Windows the following code snippet works without any error:
However in Ubuntu, I get the following error:
Do you have any idea about the issue?
The text was updated successfully, but these errors were encountered: