/[PAMELA software]/yoda/techmodel/TmtcReader.cpp
ViewVC logotype

Diff of /yoda/techmodel/TmtcReader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by kusanagi, Sat Jul 17 20:03:38 2004 UTC revision 1.3 by kusanagi, Tue Aug 24 16:01:57 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v $
3   * $Id: TmtcReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $   * $Id: TmtcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the TmtcReader class.   * Implementation of the TmtcReader class.
# Line 45  TmtcReader::TmtcReader(void): Line 45  TmtcReader::TmtcReader(void):
45   */   */
46  std::string TmtcReader::GetVersionInfo(void) const {  std::string TmtcReader::GetVersionInfo(void) const {
47    return    return
48      "$Header: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $\n";
49  }  }
50    
51  /**  /**
# Line 120  void TmtcReader::RunEvent(int EventNumbe Line 120  void TmtcReader::RunEvent(int EventNumbe
120                            
121              rec->TM_BIL_DIAG_ACQ =  subData[53];              rec->TM_BIL_DIAG_ACQ =  subData[53];
122              rec->TM_CC_DIAG_ACQ  =  (((UINT32)subData[54]<<24)&0xFF000000) + (((UINT32)subData[55]<<16)&0x00FF0000) +  (((UINT32)subData[56]<<8)&0x0000FF00) + ((UINT32)subData[57])&0x000000FF;              rec->TM_CC_DIAG_ACQ  =  (((UINT32)subData[54]<<24)&0xFF000000) + (((UINT32)subData[55]<<16)&0x00FF0000) +  (((UINT32)subData[56]<<8)&0x0000FF00) + ((UINT32)subData[57])&0x000000FF;
             //free(subData);  
123          } else {          } else {
124              cat <<  log4cpp::Priority::ERROR              cat <<  log4cpp::Priority::ERROR
125                  <<  "Wrong CRC on Subpacket int TMTC Packet starting at position " << start                  <<  "Wrong CRC on Subpacket int TMTC Packet starting at position " << start

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23