You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an incorrect value type when using int32 values on Window (tested with python 3.11 and 3.12, pip 24.0, pylsl 1.16.1). The minimum example below correctly prints <class 'ctypes.c_int'> both on Linux (current Arch) and MacOS (Darwin, M1).
But on Window 11 it prints <class 'ctypes.c_long'> which would be int64 data type. Also the data transfer fails if you pull the data into an numpy.int32 buffer.
I encountered an incorrect value type when using
int32
values on Window (tested with python 3.11 and 3.12, pip 24.0, pylsl 1.16.1). The minimum example below correctly prints<class 'ctypes.c_int'>
both on Linux (current Arch) and MacOS (Darwin, M1).But on Window 11 it prints
<class 'ctypes.c_long'>
which would be int64 data type. Also the data transfer fails if you pull the data into an numpy.int32 buffer.Minimum example:
I also checked the other data types from
pylsl.string2fmt
on all three OSs and all others works correctly.The text was updated successfully, but these errors were encountered: