Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.35 KB

Guide-Loading-Tables.md

File metadata and controls

51 lines (33 loc) · 2.35 KB

Loading Table(s) - Guide

Reference: cFE User's Guide

Reference URL: https://github.com/nasa/cFS/blob/gh-pages/cFE_Users_Guide.pdf

  1. Make sure the table image you want to load is in the on-board computer.
  2. Open Your GroundSystem.
    1. Select "Start Command System".

    2. Select "Display Page" next to Table Services. This will take you to "Table Services" menu.

    3. Select "Send" next to "CFE_TBL_LOAD_CC".

    4. Enter the location and name of the table file you want to load in the input section:

      Example: /cf/MyTblDefault2.tbl

    5. Select "send". If successful, you should see an event:

      "Successful load of '/cf/<Your_Table_File_Name>' into '<Your_APP>.<Your_Table_Name>' work buffer"

    6. At this point, your table is loaded but still "inactive". Before you can "activate" the table, you will have to "validate" it. Go back to "Table Services" menu.

    7. Select "Send" next to "CFE_TBL_VALIDATE_CC".

    8. There are two rows, "ActiveTblFlag" and "TableName". Fill it out accordingly.

      Example:

      CFE_TBL_INACTIVE_BUFFER for ActiveTblFlag TO_LAB_APP.MyTblDefault for TableName

      Note - TableName is the actual table name, not the table file name.

    9. Select "Send". If successful, you should see an event:

      "<Your_App_Name> validation successful for Inactive '<Your_App_Name>.<Your_Table_Name>'"

    10. Last step is to activate it. Go back to "Table Services" menu.

    11. Select "Send" next to "CFE_TBL_ACTIVATE_CC".

    12. Enter the table name you want to activate.

      Example: TO_LAB_APP.MyTblDefault

      Note - This is the full table name, not your table file name.

      If successful, you should see an event:

      "<Your_App_Name> Successfully updated '<Your_App_Name>.<Your_Table_Name>'"

Note(s)

  1. If you have an event that says the message is invalid when you send "validate" or "activate" command, check your ground station packet definitions vs. your cFS definitions. There could be a mismatch between the lengths.

  2. If you "validate" or "activate" and no events or errors occurred, your application is not passing through the "Table Manage API". "Validate" and "activate" are application level implementations. Check if you have:

    1. CFE_TBL_Manage implemented.
    2. CFE_TBL_Manage is being called.