BrainBit foe developers Subscribe for updates Visit website
Home
SDK
Windows
iOS
Android
DotNet
Web
Device

DoubleChannel

 

#include “cchannels.h”

 

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

Description

DoubleChannel_read_data

Function. Channel data request.

Method that returns the requested amount of data.

Options:

channel

Description: data channel pointer

Data type: DoubleChannel*

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 ​double​, size of length.​

Data type: double *

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.