comedi_parse_calibration_file

Langue: en

Version: 28 October 2007 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

comedi_parse_calibration_file - load contents of calibration file

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 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.

RETURN VALUE

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