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

NAME

6       comedi_data_read_hint - tell driver which channel/range/aref you are
7       going to read from next
8

SYNOPSIS

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

DESCRIPTION

17       Used to prepare an analog input for a subsequent call to
18       comedi_data_read. It is not necessary to use this function, but it can
19       be useful for eliminating inaccuracies caused by insufficient settling
20       times when switching the channel or gain on an analog input. This
21       function sets an analog input to the channel, range, and aref specified
22       but does not perform an actual analog to digital conversion.
23
24       Alternatively, one can simply use comedi_data_read_delayed, which sets
25       up the input, pauses to allow settling, then performs a conversion.
26

AUTHORS

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