Specifications
Comedi
58 / 148
Status
alpha
Description
This function frees the resources associated with a comedi_calibration_t obtained from comedi_parse_calibration_f-
ile(). The comedi_calibration_t pointed to by calibration can not be used again after calling this function.
5.4.3.4 comedi_get_default_calibration_path
comedi_get_default_calibration_path — get default calibration file path
Synopsis
#include <comedilib.h>
char * comedi_get_default_calibration_path(comedi_t * device);
Status
alpha
Description
This function returns a pointer to a string containing a default calibration file path appropriate for the Comedi device specified
by device. Memory for the string is allocated by the function, and should be freed with the C library function free() when the
string is no longer needed.
Return value
A string which contains a file path useable by comedi_parse_calibration_file(). On error, NULL is returned.
5.4.3.5 comedi_get_hardcal_converter
comedi_get_hardcal_converter — get converter for hardware-calibrated subdevice
Synopsis
#include <comedilib.h>
int comedi_get_hardcal_converter(comedi_t * device, unsigned subdevice, unsigned channel, unsigned range, enum comedi_conversion_direction
direction, comedi_polynomial_t * converter);
Status
alpha