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_parse_calibration_file - load contents of calibration file

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 parses a calibration file (produced by the comedi_calibrate or comedi_soft_calibrate
       programs) and returns a pointer to a comedi_calibration_t which can be passed to the
       comedi_apply_parsed_calibration or comedi_get_softcal_converter functions. When you are finished using
       the comedi_calibration_t, you should call comedi_cleanup_calibration to free the resources associated
       with the comedi_calibration_t.

       The comedi_get_default_calibration_path function may be useful in conjunction with this function.

Name

       comedi_parse_calibration_file - load contents of calibration file

Return Value

       A pointer to parsed calibration information on success, or NULL on failure.

Status

       alpha

Synopsis

#include<comedilib.h>comedi_calibration_t*comedi_parse_calibration_file(constchar*file_path);

See Also