1 # Introduction{#mainpage}
4 Copyright © 2020, CAEN SpA.
6 Via Vetraia, 11 - 55049 - Viareggio (LU) - ITALY
9 [info@caen.it](mailto:info@caen.it)
10 [www.caen.it](http://www.caen.it)
13 No part of this manual may be reproduced in any form or by any means, electronic, mechanical, recording, or
14 otherwise, without the prior written permission of CAEN SpA.
16 The information contained herein has been carefully checked and is believed to be accurate; however, no responsibility
17 is assumed for inaccuracies. CAEN SpA reserves the right to modify its products specifications without giving
18 any notice; for up to date information please visit [www.caen.it](http://www.caen.it).
21 The **CAEN MCA** library can be used to control and acquire data from Hexagon,
22 a compact and stand-alone 32k MCA with integrated HV & Preamplifier Power Supply.
24 By the set of provided functions, it is possible to manage the board configuration,
25 the data acquisition, the algorithm parameters and the HV power supply.
27 This library can be used for software development both on a host PC and on the
28 embedded Linux-based system running on Hexagon CPU.
30 CAEN MCA library provides a very simple interface to keep backward compatibility as simple as possible
31 in case of new releases.
33 The code is fully compliant with **C99** (ISO/IEC 9899:1999) standard.
35 The library doesn't require other CAEN libraries to be installed, and installation packages are provided
36 for Windows and Linux platforms, 32 and 64-bit, including practical examples and source files for custom
40 This program is free software: you can redistribute it and/or modify
41 it under the terms of the GNU Lesser General Public License as published by
42 the Free Software Foundation, either version 3 of the License, or
43 (at your option) any later version.
45 This program is distributed in the hope that it will be useful,
46 but WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48 GNU Lesser General Public License for more details.
50 You should have received a copy of the GNU Lesser General Public License
51 along with this program. If not, see <http://www.gnu.org/licenses/>.
54 **CAEN MCA** includes code from some third part open source projects.
56 Tools for discover Hexagon devices use the SSDP protocol, whose implementation is platform dependent.
57 On Windows it is done using the COM library.
58 The method is derived from an example of **Windows classic samples**:
59 * Source: [Windows classic samples on GitHub](https://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/Win7Samples/winbase/DeviceFoundation/FunctionDiscovery/Client/FunDiscovery.cpp)
60 * License: *MIT license*
61 * Copyright: *Copyright © Microsoft Corporation. All rights reserved*
62 * Author: *Microsoft Corporation*
64 On Linux it is done using the GSSDP library, part of the GUPnP framework. GSSDP is loaded at runtime
65 and its headers are needed only to compile this library.
66 The method is derived from an example of **GSSDP**:
67 * Source: [GSSDP on GitHub](https://github.com/GNOME/gssdp/blob/master/examples/test-browser.c)
68 * License: *GNU Library General Public License*
69 * Copyright: *Copyright © 2006 OpenedHand Ltd.*
70 * Author: *Jorn Baayen*