1COMEDI_GET_N_CHANNELS(3) COMEDI_GET_N_CHANNELS(3)
23
4
NAME
6comedi_get_n_channels - number of subdevice channels
7
SYNOPSIS
9#include <comedilib.h>
1011
int comedi_get_n_channels (comedi_t * device, unsigned int subdevice);
12
DESCRIPTION
14The function comedi_get_n_channels() returns the number of channels of
15the subdevice belonging to the comedi device device and having index
16subdevice. This function returns -1 on error and the Comedilib error
17value is set.
1819
28 October 2007 COMEDI_GET_N_CHANNELS(3)