1COMEDI_DATA_READ_HINT(3)                              COMEDI_DATA_READ_HINT(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, unsigned int aref);
14

DESCRIPTION

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