1COMEDI_APPLY_PARSED_CALIBRATION(3) COMEDI_APPLY_PARSED_CALIBRATION(3)
2
3
4
6 comedi_apply_parsed_calibration - set calibration from memory
7
9 #include <comedilib.h>
10
11 int comedi_apply_parsed_calibration (comedi_t * device, unsigned int
12 subdevice, unsigned int channel, unsigned int range, unsigned int aref,
13 const comedi_calibration_t *calibration);
14
16 alpha
17
19 This function is similar to comedi_apply_calibration() except the cali‐
20 bration information is read from memory instead of a file. This func‐
21 tion can be more efficient than comedi_apply_calibration() since the
22 calibration file does not need to be reparsed with every call. The
23 calibration is obtained by a call to comedi_parse_calibration_file().
24
26 Zero on success, a negative number on failure.
27
28 28 October 20C0O7MEDI_APPLY_PARSED_CALIBRATION(3)