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

NAME

6       comedi_data_read_n - read multiple samples from channel
7

SYNOPSIS

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

DESCRIPTION

17       Similar to comedi_data_read except it reads n samples into the array
18       data. The precise timing of the samples is not hardware controlled.
19

AUTHORS

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