1COMEDI_MAXDATA_IS_CH(3) Comedi reference COMEDI_MAXDATA_IS_CH(3)
2
3
4
6 comedi_maxdata_is_chan_specific - maximum sample depends on channel
7
9 #include <comedilib.h>
10
11 int comedi_maxdata_is_chan_specific(comedi_t * device,
12 unsigned int subdevice);
13
15 If each channel of the specified subdevice may have different maximum
16 sample values, this function returns 1. Otherwise, this function
17 returns 0. On error, this function returns -1.
18
20 David Schleef <ds@schleef.org>
21 Author.
22
23 Frank Mori Hess <fmhess@users.sourceforge.net>
24 Author.
25
26 Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
27 Author.
28
29 Bernd Porr <tech@linux-usb-daq.co.uk>
30 Author.
31
32 Ian Abbott <abbotti@mev.co.uk>
33 Author.
34
35 Éric Piel <piel@delmic.com>
36 Author.
37
39 Copyright © 1998-2003 David Schleef
40 Copyright © 2001-2003, 2005, 2008 Frank Mori Hess
41 Copyright © 2002-2003 Herman Bruyninckx
42 Copyright © 2012 Bernd Porr
43 Copyright © 2012 Ian Abbott
44 Copyright © 2012, 2015 Éric Piel
45
46 This document is part of Comedilib. In the context of this document,
47 the term "source code" as defined by the license is interpreted as the
48 XML source.
49
50 This library is free software; you can redistribute it and/or modify it
51 under the terms of the GNU Lesser General Public License as published
52 by the Free Software Foundation, version 2.1 of the License.
53
54 This library is distributed in the hope that it will be useful, but
55 WITHOUT ANY WARRANTY; without even the implied warranty of
56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
57 General Public License for more details.
58
59 You should have received a copy of the GNU Lesser General Public
60 License along with this library; if not, write to the Free Software
61 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
62 USA.
63
64
65
66
67Comedi 05/11/2017 COMEDI_MAXDATA_IS_CH(3)