1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "COMEDI_APPLY_PARSED_CALIBRATION" "3" "02 October 2004" "" ""
9
comedi_apply_parsed_calibration \- set calibration from memory
12
\fB#include <comedilib.h>
14
int comedi_apply_parsed_calibration (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, unsigned int \fIchannel\fB, unsigned int \fIrange\fB, unsigned int \fIaref\fB, const comedi_calibration_t \fI*calibration\fB);
21
This function is similar to comedi_apply_calibration()
22
except the calibration information is read from memory
23
instead of a file. This function can be more
24
efficient than comedi_apply_calibration() since the
25
calibration file does not need to be reparsed with
26
every call. The \fIcalibration\fR is
27
obtained by a call to comedi_parse_calibration_file().
31
Zero on success, a negative number on failure.