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_data_read_hint - tell driver which channel/range/aref you are going to read from next

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

       Used to prepare an analog input for a subsequent call to comedi_data_read. It is not necessary to use
       this function, but it can be useful for eliminating inaccuracies caused by insufficient settling times
       when switching the channel or gain on an analog input. This function sets an analog input to the channel,
       range, and aref specified but does not perform an actual analog to digital conversion.

       Alternatively, one can simply use comedi_data_read_delayed, which sets up the input, pauses to allow
       settling, then performs a conversion.

Name

       comedi_data_read_hint - tell driver which channel/range/aref you are going to read from next

Synopsis

#include<comedilib.h>intcomedi_data_read_hint(comedi_t*device,unsignedintsubdevice,unsignedintchannel,unsignedintrange,unsignedintaref);

See Also