Man Linux: Main Page and Category List

NAME

       comedi_get_n_ranges - number of ranges of channel

SYNOPSIS

       #include <comedilib.h>

       int  comedi_get_n_ranges  (comedi_t  *  device, unsigned int subdevice,
       unsigned int channel);

DESCRIPTION

       The function comedi_get_n_ranges() returns the number of ranges of  the
       channel  chan  belonging  to the subdevice of the comedi device device.
       This function returns -1 on error.

                                28 October 2007