1COMEDI_GET_N_RANGES(3) COMEDI_GET_N_RANGES(3)
23
4
NAME
6comedi_get_n_ranges - number of ranges of channel
7
SYNOPSIS
9#include <comedilib.h>
1011
int comedi_get_n_ranges (comedi_t * device, unsigned int subdevice,
12unsigned int channel);
13
DESCRIPTION
15The function comedi_get_n_ranges() returns the number of ranges of the
16channel chan belonging to the subdevice of the comedi device device.
17This function returns -1 on error.
1819
28 October 2007 COMEDI_GET_N_RANGES(3)