table of contents
COMEDI_SV_INIT(3) | Comedi reference | COMEDI_SV_INIT(3) |
NAME¶
comedi_sv_init - slowly-varying inputsSYNOPSIS¶
#include <comedilib.h>
int
comedi_sv_init(comedi_sv_t * sv,
comedi_t * device,
unsigned int subdevice,
unsigned int channel);
STATUS¶
deprecatedDESCRIPTION¶
The function comedi_sv_init initializes the slow varying Comedi structure pointed to by sv to use the device device, the analog input subdevice subdevice, and the channel channel. The slow varying Comedi structure is used by comedi_sv_measure to accurately measure an analog input by averaging over many samples. The default number of samples is 100.RETURN VALUE¶
This function returns 0 on success, -1 on error.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
Éric Piel <piel@delmic.com>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/14/2014 | Comedi |