man comedi_parse_calibration_file (Fonctions bibliothèques) - set calibration

NAME

comedi_parse_calibration_file - set calibration

SYNOPSIS

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

STATUS

alpha

DESCRIPTION

This function parses a calibration file (produced by the comedi_calibrate program) and returns a pointer to a comedi_calibration_t which can be passed to the comedi_apply_parsed_calibration() function. 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.

RETURN VALUE

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