text: /************************************************************************
  ** File: sch_lab_sched_tab.h
  **
  ** Purpose: 
  **  This file contains the schedule tables for the SCH Lab app.
  **  It is intended to go in the platform include directory so the SCH_LAB
  **  app source code does not have to be modified.
  **
  ** Notes:
  **
  ** $Log: sch_lab_sched_tab.h  $
  ** Revision 1.1 2014/07/17 12:36:57GMT-05:00 acudmore 
  ** Initial revision
  ** Member added to project c:/MKSDATA/MKS-REPOSITORY/MKS-CFE-PROJECT/tools/sch_lab/fsw/platform_inc/project.pj
  **
  *************************************************************************/
  
  
  #include "cfe_msgids.h"
  
  /*
  ** Include headers for message IDs here
  */
  #include "ci_lab_msgids.h"
  #include "to_lab_msgids.h"
  
  #include "sample_app_msgids.h"
  
  #if 0
  #include "sc_msgids.h"
  #include "hs_msgids.h"
  #include "fm_msgids.h"
  #include "ds_msgids.h"
  #include "lc_msgids.h"
  #endif
  
  /*
  ** Defines
  */
  #define SCH_LAB_END_OF_TABLE          0
  #define SCH_LAB_MAX_SCHEDULE_ENTRIES  32
  
  /*
  ** Typedefs
  */
  typedef struct
  {
      CFE_SB_MsgId_t  MessageID;  /* Message ID for the table entry */
      uint32          PacketRate; /* Rate: Send packet every N seconds */
      uint32          Counter;    /* Counter used to send packet */
       
  } SCH_LAB_ScheduleTable_t;
  
  
  /*
  ** SCH Lab schedule table
  ** When populating this table:
  **  1. Make sure the table is terminated by the SCH_LAB_END_OF_TABLE entry
  **  2. You can have commented out entries, but a zero MID will terminate the table processing, 
  **      skipping the remaining entries.
  **  3. If the table grows too big, increase SCH_LAB_MAX_SCHEDULE_ENTRIES
  */
  SCH_LAB_ScheduleTable_t SCH_LAB_ScheduleTable[SCH_LAB_MAX_SCHEDULE_ENTRIES] = 
  { 
       { CFE_ES_SEND_HK_MID,   4, 0 },  /* Housekeeping requests go out every 4 seconds */
       { CFE_EVS_SEND_HK_MID,  4, 0 },
       { CFE_TIME_SEND_HK_MID, 4, 0 },
       { CFE_SB_SEND_HK_MID,   4, 0 },
       { CFE_TBL_SEND_HK_MID,  4, 0 },
       
       { CI_LAB_SEND_HK_MID,   4, 0 },
       { TO_LAB_SEND_HK_MID,   4, 0 },
       { SAMPLE_APP_SEND_HK_MID,   4, 0 },
  
  #if 0
       { SC_SEND_HK_MID,       4, 0 },
       { SC_1HZ_WAKEUP_MID,    1, 0 },  /* Example of a 1hz packet */
       { HS_SEND_HK_MID,       4, 0 },
       { FM_SEND_HK_MID,       4, 0 },
       { DS_SEND_HK_MID,       4, 0 },
       { LC_SEND_HK_MID,       4, 0 },
  
  #endif
  
       { SCH_LAB_END_OF_TABLE, 0, 0 }
  };
  
  