BrainBit for developers Subscribe for updates Visit website

IntChannel

 

#include “cchannels.h”

 

Base class for channels with int data type. It inherits from the base channel class ​AnyChannel.​

Description

IntChannel_read_data

Function. Channel data request.

Method that returns the requested amount of data.

Options:

channel

Description: data channel pointer

Data type: IntChannel*

offset

Description: Offset from the start of data

Data type: size_t

length

Description: The required number of signal samples. If there is not enough data in the channel, then they will be filled with zeros.

Data type: size_t *

out_buffer

Description: data array int, size of length.​

Data type: int *

buffer_size

Description: desired buffer size.​

Data type: size_t

samples_read

Description: size of data read.​

Data type: size_t *

Return value:

Description: An indication of an error. More details sdk_error

Data type: int.