1COMEDI_GET_RANGE(3) COMEDI_GET_RANGE(3)
2
3
4
6 comedi_get_range - range information of channel
7
9 #include <comedilib.h>
10
11 comedi_range * comedi_get_range (comedi_t * device, unsigned int subde‐
12 vice, unsigned int channel, unsigned int range);
13
15 The function comedi_get_range() returns a pointer to a comedi_range
16 structure that contains information that can be used to convert sample
17 values to or from physical units. The pointer is valid until the
18 Comedi device device is closed. If there is an error, NULL is
19 returned.
20
21 28 October 2007 COMEDI_GET_RANGE(3)