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_apply_parsed_calibration - set calibration from memory

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

       This function is similar to comedi_apply_calibration, except the calibration information is read from
       memory instead of a file. This function can be more efficient than comedi_apply_calibration since the
       calibration file does not need to be reparsed with every call. The value of parameter calibration is
       obtained by a call to comedi_parse_calibration_file.

Name

       comedi_apply_parsed_calibration - set calibration from memory

Return Value

       Returns 0 on success, -1 on failure.

Status

       alpha

Synopsis

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

See Also