[Biosig-general] Biosig, endianity and debugging [was: [Eeglablist] Exporting continuous EEG data
Brought to you by:
schloegl
From: Alois S. <alo...@bi...> - 2011-10-26 21:01:16
|
Hi Arno, Biosig is platform-aware and supports big-little-endian conversion in both directions as needed. It has has been used (and tested) on big endian machines in the past (on a regular bases up to 2008). And I'm quite confident that biosig is working well on big and little endian machines. big-endian machines seem to be gone with the powerpc (apple switched to intel cpu, and Sparc are gone, too), and there are hardly any testers or test machines around or available since about 2 years. However, support for EDF is much older and has definitively been tested on big-endian platforms. In order to comment on any unexpected behavior of Biosig, I'd need the results after calling these functions. HDR = sopen(...) [data,HDR]= sread(HDR,...) HDR = sclose(HDR) or [data,HDR] = sload(...) If Biosig behaves differently on different platforms, one should see the difference in the resulting variables. If there is a difference, its a bug in biosig. If not, you need to look somewhere else for the culprit. Alois On 10/25/2011 08:27 PM, Arnaud Delorme wrote: > Hi Alois, > > never heard of this problem, but do you think BIOSIG is handling the > endian issue properly on OSx (see below)? Thanks, > > Arno > > Begin forwarded message: > >> We found our problem of transferring data between EEGLAB and BESA: >> Before, we installed the EEGLAB under Mac OX, and BESA is under >> Window. Once we switch to EEGLAB under Window to read data from >> BESA, there's no problem exporting and importing. Something >> different in writing data between 2 operating system... >> > > |