logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

comedi_sv_init - slowly-varying inputs

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       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.

Name

       comedi_sv_init - slowly-varying inputs

Return Value

       This function returns 0 on success, -1 on error.

Status

       deprecated

Synopsis

#include<comedilib.h>intcomedi_sv_init(comedi_sv_t*sv,comedi_t*device,unsignedintsubdevice,unsignedintchannel);

See Also