comedi_find_range3
Search for range
Usage
#include <comedilib.h>
int comedi_find_range(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int unit, double min, double max);
Overview
The function comedi_find_range tries to locate the optimal (smallest) range for the channel channel belonging to subdevice subdevice of the comedi device device, that includes both min and max in units of unit.
Return value
If a matching range is found, the index of the matching range is returned. If no matching range is available, the function returns -1.
Releases
12 releases since Debian 3.0 (Woody); the text changed 9 times.