1COMEDI_GET_RANGE(3)            Comedi reference            COMEDI_GET_RANGE(3)
2
3
4

NAME

6       comedi_get_range - range information of channel
7

SYNOPSIS

9       #include <comedilib.h>
10
11       comedi_range * comedi_get_range(comedi_t * device,
12                                       unsigned int subdevice,
13                                       unsigned int channel,
14                                       unsigned int range);
15

DESCRIPTION

17       The function comedi_get_range returns a pointer to a comedi_range
18       structure that contains information on the range specified by the
19       subdevice, channel, and range parameters. The pointer is valid until
20       the Comedi device device is closed. If there is an error, NULL is
21       returned.
22

AUTHORS

24       David Schleef <ds@schleef.org>
25           Author.
26
27       Frank Mori Hess <fmhess@users.sourceforge.net>
28           Author.
29
30       Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
31           Author.
32
33       Bernd Porr <tech@linux-usb-daq.co.uk>
34           Author.
35
36       Ian Abbott <abbotti@mev.co.uk>
37           Author.
38
39       Éric Piel <piel@delmic.com>
40           Author.
41
43       Copyright © 1998-2003 David Schleef
44       Copyright © 2001-2003, 2005, 2008 Frank Mori Hess
45       Copyright © 2002-2003 Herman Bruyninckx
46       Copyright © 2012 Bernd Porr
47       Copyright © 2012 Ian Abbott
48       Copyright © 2012, 2015 Éric Piel
49
50       This document is part of Comedilib. In the context of this document,
51       the term "source code" as defined by the license is interpreted as the
52       XML source.
53
54       This library is free software; you can redistribute it and/or modify it
55       under the terms of the GNU Lesser General Public License as published
56       by the Free Software Foundation, version 2.1 of the License.
57
58       This library is distributed in the hope that it will be useful, but
59       WITHOUT ANY WARRANTY; without even the implied warranty of
60       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
61       General Public License for more details.
62
63       You should have received a copy of the GNU Lesser General Public
64       License along with this library; if not, write to the Free Software
65       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
66       USA.
67
68
69
70
71Comedi                            05/11/2017               COMEDI_GET_RANGE(3)
Impressum