1COMEDI_SV_INIT(3)                                            COMEDI_SV_INIT(3)
2
3
4

NAME

6       comedi_sv_init - slowly-varying inputs
7

SYNOPSIS

9       #include <comedilib.h>
10
11       int  comedi_sv_init  (comedi_sv_t * sv, comedi_t * device, unsigned int
12       subdevice, unsigned int channel);
13

STATUS

15       deprecated
16

DESCRIPTION

18       The function  comedi_sv_init()  initializes  the  slow  varying  Comedi
19       structure  sv to use the device device, the analog input subdevice sub‐
20       device, and the channel channel.  The slow varying Comedi structure  is
21       used  by  comedi_sv_measure()  to accurately measure an analog input by
22       averaging over many samples.  The default number  of  samples  is  100.
23       This function returns 0 on success, -1 on error.
24
25                                28 October 2007              COMEDI_SV_INIT(3)
Impressum