Open lafiezh opened 6 years ago
ps: I think it should be like this
269. % Create the IIO buffer used to write data
obj.iio_buf_size = obj.data_ch_size * obj.iio_scan_elm_no;
obj.iio_buffer = calllib(obj.libname, 'iio_device_create_buffer', obj.iio_dev,...
obj.iio_buf_size, 1);
In libiio_if.m file I find something wrong related to buffer creation.
In functions of
initOutputDataChannels
, also inwriteData
function. Please check it.