1EGD_GET_NUMCH(3)             EEGDEV library manual            EGD_GET_NUMCH(3)
2
3
4

NAME

6       egd_get_numch - Get the number of channels sampled by type
7

SYNOPSIS

9       #include <eegdev.h>
10
11       int egd_get_numch(const struct eegdev* dev, int stype);
12

DESCRIPTION

14       egd_get_numch() returns the number of channels of type stype sampled by
15       the recording device referenced by dev. stype must be one of the values
16       returned by egd_sensor_type(3).
17

RETURN VALUE

19       In  case  of  success, the function returns a non negative value correā€
20       sponding to the number of channels of type stype  (possibly  0  if  the
21       device  does  not  sample this type of data). Otherwise, -1 is returned
22       and errno is set accordingly.
23

ERRORS

25       egd_get_numch() will fail if:
26
27       EINVAL dev is NULL or stype is not valid value.
28

SEE ALSO

30       egd_get_cap(3), egd_sensor_type(3)
31
32
33
34
35
36
37
38EPFL                                 2011                     EGD_GET_NUMCH(3)
Impressum