Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
146 | f9daq | 1 | SOFTWARE FOR SIPM CHARACTERIZATION WITH CAMAC, SCOPE, BIAS VOLTAGE AND TABLE POSITION SUPPORT |
2 | ============================================================================================= |
||
3 | By Gasper Kukec Mezek, April 2015. |
||
4 | |||
5 | ________________ |
||
6 | 1. Installation: |
||
7 | |||
8 | Pre-requisites for offline and online modes: |
||
9 | a) Offline mode (support for histogramming and analysis): |
||
10 | - A newer (5.34 or higher, support for version 6 not added yet) pro version of ROOT (https://root.cern.ch). |
||
11 | b) Online mode (support for histogramming, analysis and data acquisition): |
||
12 | - Perl developer package libperl-dev for installation of net-snmp (sudo apt-get install libperl-dev). |
||
13 | - Current version of net-snmp (http://www.net-snmp.org). |
||
14 | - A newer (5.34 or higher, support for version 6 not added yet) pro version of ROOT (https://root.cern.ch). |
||
15 | - USB developer package libusb-dev (sudo apt-get install libusb-dev). |
||
16 | |||
17 | Installation is done through the usual "./configure" and "make" commands to enable the use of this software with 32 bit or 64 bit systems. |
||
18 | |||
19 | Configure takes the following arguments: |
||
20 | - First argument is the configure option (help, nomake, all, clean, compress): |
||
21 | help = shows configure help |
||
22 | all = prepares OS dependent files and makes the needed usb daq libraries |
||
23 | nomake = only prepares OS dependent files |
||
24 | clean = cleans the installation to the base file structure (keeps the results directory) |
||
25 | compress = compresses the base installation into a tar-ball |
||
26 | - Second argument is the online/offline configure setting (only used when first argument is nomake or all), that enables the software to work with: |
||
27 | a connected CAMAC and scope (I) = Online mode |
||
28 | only a connected scope (S) = Offline mode with oscilloscope connection |
||
29 | with no connected devices (O) = Offline mode |
||
30 | - The following arguments set specific computer details and can be entered in any order: |
||
31 | a) --root-install=/path/to/root/directory -> The ROOT install directory, if it is not installed in a standard location (especially needed when running the program with superuser, since it usually does not have the required environment variables). |
||
32 | b) --snmp-install=/path/to/snmp/directory -> The NET-SNMP install directory, if it is not installed in a standard location. |
||
33 | c) --ostype=YYYY -> Optional argument to specifically set the OS type to either 32bit (YYYY = i686) or 64bit (YYYY = x86_64). If argument not supplied, the configure script will try to get this information automatically through uname. |
||
34 | |||
35 | Running "./configure" or "./configure help" will give more information on specific uses. |
||
36 | Example: |
||
37 | ./configure all I --root-install=/opt/root --snmp-install=/opt/net-snmp --ostype=i686 |
||
38 | |||
39 | Makefile: |
||
40 | Once configuration is done, a Makefile will be generated and further installation is done by running "make". Running "make relib" will only recreate the libraries in case something has been edited in them. |
||
41 | Example: |
||
42 | make |
||
43 | |||
44 | On first run of the program, make sure to copy the ./mpod/WIENER-CRATE-MIB.txt to the MIB directory in your installation of net-snmp. This can be in: |
||
45 | ~/.snmp/mibs |
||
46 | or |
||
47 | [/snmp/install/directory]/share/snmp/mibs |
||
48 | |||
49 | ________________________ |
||
50 | 2. Running the software: |
||
51 | |||
52 | Once installation is performed, use |
||
53 | ./start.sh |
||
54 | to start the software in offline mode or |
||
55 | sudo ./start.sh |
||
56 | to start the software in online mode. Once the software starts, it will let you know (in the terminal) if connection to CAMAC was correctly established. |