/[PAMELA software]/quicklook/dataToXML/Data/compilationInfo/src/INFN/SNS_SensorsBoard_INFN.c
ViewVC logotype

Annotation of /quicklook/dataToXML/Data/compilationInfo/src/INFN/SNS_SensorsBoard_INFN.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Tue Apr 25 09:00:20 2006 UTC (19 years, 2 months ago) by kusanagi
Branch: MAIN
CVS Tags: dataToXML1_02/01, dataToXML1_02/00, dataToXML1_03/00, dataToXML1_03/01, dataToXML1_00/00, firstRelease, dataToXML1_01/00, dataToXML1_03_02, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
These program extract in an XML format the info contained into the ROOT files generated by YODA from the PAMELA data. To visualize the XML files in a more human readable format a collection of XSL files are given in the Data subfolder.

1 kusanagi 1.1 /****************************************************************************
2     * F i l e D a t a
3     * $Id: SNS_SensorsBoard_INFN.c,v 1.3 2004/08/27 13:30:39 alfarano Exp $
4     * $Revision: 1.3 $
5     * $Date: 2004/08/27 13:30:39 $
6     * $RCSfile: SNS_SensorsBoard_INFN.c,v $
7     *
8     ****************************************************************************
9     * S W D e v e l o p m e n t E n v i r o n m e n t
10     *
11     * $Author: alfarano $
12     * :
13     ****************************************************************************
14     * U p d a t i n g
15    
16     * $Log: SNS_SensorsBoard_INFN.c,v $
17     * Revision 1.3 2004/08/27 13:30:39 alfarano
18     * cvs header
19     *
20     * Revision 1.1 2003/10/03 16:12:26 faber
21     * *** empty log message ***
22     *
23     *
24     *****************************************************************************/
25     /*============================= Include File ================================*/
26    
27    
28     #include <src/INFN/LU_SourceFileID_INFN.h>
29     #define __FILEID__ _SNS_SensorsBoard_INFN__c
30     #include <src/INFN/PRH_ParamHandler_INFN.h>
31     #include <src/INFN/LU_LogUtility_INFN.h>
32     #include <src/INFN/PRH_ParamHandler_INFN_auto.h>
33     LU_DECL_MASK();
34     #include <src/INFN/CM_Common_INFN.h>
35     #include <src/INFN/SNS_SensorsBoard_INFN.h>
36     #include <src/INFN/HK_Manager_INFN.h>
37    
38     /*============================ External define ================================*/
39    
40     status_code SNS_Init()
41     {
42     return CM_RC_SUCCESSFUL;
43     }
44    
45    
46     status_code SNS_InitBoard()
47     {
48     }
49    
50    
51     status_code SNS_ReadTemperature(SNS_TYPE SNS, UINT16* outbuf)
52     {
53     UINT16 combuf;
54     status_code status;
55    
56     combuf = (SNS << 13);
57    
58     status = HK_KHB_Cmd2FE(SNS,1,SNS_TEMP_REPLY_SIZE,&combuf,outbuf,SNS_BOARD_TIMEOUT);
59    
60     return status;
61    
62     }
63    
64     status_code SNS_ReadB(SNS_TYPE SNS,UINT16* outbuf)
65     {
66     UINT16 combuf;
67     status_code status;
68    
69     combuf = (SNS << 13) | (7 << 10);
70    
71     status = HK_KHB_Cmd2FE(SNS,1,SNS_B_REPLY_SIZE,&combuf,outbuf,SNS_BOARD_TIMEOUT);
72    
73     return status;
74     }

  ViewVC Help
Powered by ViewVC 1.1.23