ei2cdefine.py 2.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#===============================================================================
# CERN (BE-CO-HT)
# EI2C global definitions file
#===============================================================================
# author: Theodor Stana (t.stana@cern.ch)
#
# date of creation: 2014-03-05
#
# version: 1.0
#
# description:
#
#   This module defines some global constants that are used by other scripts in
#   the software suite. The constants and their definitions are in the code
#   below.
#
#===============================================================================
# GNU LESSER GENERAL PUBLIC LICENSE
#===============================================================================
# This source file is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 2.1 of the License, or (at your
# option) any later version. This source is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details. You should have
# received a copy of the GNU Lesser General Public License along with this
# source; if not, download it from http://www.gnu.org/licenses/lgpl-2.1.html
#===============================================================================
# last changes:
#    2014-03-05    Theodor Stana     File created
32
#    2017-02-15    Maciej Suminski   Added 'SLOT' parameter
33 34 35 36
#===============================================================================
#  TODO: -
#===============================================================================

37 38 39
# Boolean to specify whether hostname, user & password are used
ENABLED  = False

40
# Hostname, username and password
41 42 43 44
HNAME    = "" # Add host name here     Eg: HNAME    = "cfv-774-celma3"
USER     = "" # Add host username here Eg: USER     = "admin"
PWD      = "" # Add host password here Eg: PWD      = "ADMIN"
SLOT     = 0  # Add slot number here   Eg: SLOT     =  5
45 46 47 48

# Boolean to tell the ei2c.py module whether to create a dump file for the ELMA
# command replies
DUMP     = False