1COMEDI_PARSE_CALIBRA(3) Comedi reference COMEDI_PARSE_CALIBRA(3)
2
3
4
6 comedi_parse_calibration_file - load contents of calibration file
7
9 #include <comedilib.h>
10
11 comedi_calibration_t *
12 comedi_parse_calibration_file(const char * file_path);
13
15 alpha
16
18 This function parses a calibration file (produced by the
19 comedi_calibrate or comedi_soft_calibrate programs) and returns a
20 pointer to a comedi_calibration_t which can be passed to the
21 comedi_apply_parsed_calibration or comedi_get_softcal_converter
22 functions. When you are finished using the comedi_calibration_t, you
23 should call comedi_cleanup_calibration to free the resources associated
24 with the comedi_calibration_t.
25
26 The comedi_get_default_calibration_path function may be useful in
27 conjunction with this function.
28
30 A pointer to parsed calibration information on success, or NULL on
31 failure.
32
34 David Schleef <ds@schleef.org>
35 Author.
36
37 Frank Mori Hess <fmhess@users.sourceforge.net>
38 Author.
39
40 Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
41 Author.
42
43 Bernd Porr <tech@linux-usb-daq.co.uk>
44 Author.
45
46 Ian Abbott <abbotti@mev.co.uk>
47 Author.
48
49 Éric Piel <piel@delmic.com>
50 Author.
51
53 Copyright © 1998-2003 David Schleef
54 Copyright © 2001-2003, 2005, 2008 Frank Mori Hess
55 Copyright © 2002-2003 Herman Bruyninckx
56 Copyright © 2012 Bernd Porr
57 Copyright © 2012 Ian Abbott
58 Copyright © 2012, 2015 Éric Piel
59
60 This document is part of Comedilib. In the context of this document,
61 the term "source code" as defined by the license is interpreted as the
62 XML source.
63
64 This library is free software; you can redistribute it and/or modify it
65 under the terms of the GNU Lesser General Public License as published
66 by the Free Software Foundation, version 2.1 of the License.
67
68 This library is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
71 General Public License for more details.
72
73 You should have received a copy of the GNU Lesser General Public
74 License along with this library; if not, write to the Free Software
75 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
76 USA.
77
78
79
80
81Comedi 05/11/2017 COMEDI_PARSE_CALIBRA(3)