Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

comedi_get_range - range information of channel

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_get_range returns a pointer to a comedi_range structure that contains information on
       the range specified by the subdevice, channel, and range parameters. The pointer is valid until the
       Comedi device device is closed. If there is an error, NULL is returned.

Name

       comedi_get_range - range information of channel

Synopsis

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

See Also