Skip to content

Commit 34387fe

Browse files
author
Jake Hageman
committed
CCB 2019-09-25: Merge #29, #32; FT #27
Reviewed and approved #29, #32 at 2019-09-25 CCB FASTTRACKED #27 (documentation only)
2 parents b3597f2 + 4482a5d commit 34387fe

15 files changed

+102
-21
lines changed

Guide-Loading-Tables.txt

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
Loading Table(s) - Guide
2+
------------------------
3+
4+
reference(s): cfe_tbl.dox
5+
cFE Application Developers Guide
6+
7+
1. Make sure the table image you want to load is in the onboard computer.
8+
9+
2. Open Your GroundSystem.
10+
11+
a. Select "Start Command System"
12+
13+
b. Select "Display Page" next to Table Services. This will take you to "Table Services"
14+
menu.
15+
16+
c. Select "Send" next to "Load Table".
17+
18+
d. Enter the location and name of the table file you want to load in the input section:
19+
Example: /cf/MyTblDefault2.tbl
20+
21+
e. Select "send". If successful, you should see an event:
22+
"Successful load of '/cf/<Your_Table_File_Name>' into '<Your_APP>.<Your_Table_Name>' work buffer"
23+
24+
f. At this point, your table is loaded but still "inactive". Before you can "activate" the
25+
table, you will have to "validate" it. Go back to "Table Services" menu.
26+
27+
g. Select "Send" next to "Validate Table".
28+
29+
h. There are two rows, "ActiveTblFlag" and "TableName". Fill it out accordingly.
30+
Example: "CFE_TBL_INACTIVE_BUFFER" for ActiveTblFlag
31+
"TO_LAB_APP.MyTblDefault" for TableName
32+
33+
*Note - TableName is the actual table name, not the table file name.
34+
35+
i. Select "Send". If successful, you should see an event:
36+
"<Your_App_Name> validation successful for Inactive '<Your_App_Name>.<Your_Table_Name>'"
37+
38+
j. Last step is to activate it. Go back to "Table Services" menu.
39+
40+
k. Select "Send" next to "Activate Table".
41+
42+
l. Enter the table name you want to activate.
43+
Example: TO_LAB_APP.MyTblDefault
44+
45+
*Note - This is the full table name, not your table file name.
46+
47+
If successful, you should see an event:
48+
"<Your_App_Name> Successfully updated '<Your_App_Name>.<Your_Table_Name>'"
49+
50+
Note(s)
51+
-------
52+
53+
1. If you have an event that says the message is invalid when you send "validate" or "activate"
54+
command, check your ground station packet definitions vs. your cFS definitions. There
55+
could be a mismatch between the lengths.
56+
57+
2. If you "validate" or "activate" and no events or errors occurred, your application is not
58+
passing through the "Table Manage API". "Validate" and "activate" are application level
59+
implementations. Check if you have:
60+
61+
a. CFE_TBL_Manage implemented.
62+
63+
b. CFE_TBL_Manage is being called.

Subsystems/cmdGui/CommandFiles/cfe__sb__msg_8h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ aS'struct_c_f_e___s_b___write_file_info_cmd__t'
6868
p35
6969
aS'struct_c_f_e___s_b___cmd_hdr__t'
7070
p36
71-
aa.
71+
aa.

Subsystems/cmdGui/CommandFiles/cfe__time__msg_8h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ aS'struct_c_f_e___t_i_m_e___time_cmd__t'
9898
p50
9999
aS'struct_c_f_e___t_i_m_e___time_cmd__t'
100100
p51
101-
aa.
101+
aa.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
(lp0
2+
(lp1
3+
S'SAMPLE_APP_NOOP_CC'
4+
p2
5+
aS'SAMPLE_APP_RESET_COUNTERS_CC'
6+
p3
7+
aS'SAMPLE_APP_PROCESS_CC'
8+
p4
9+
aa(lp5
10+
S'0'
11+
p6
12+
aS'1'
13+
p7
14+
aS'2'
15+
p8
16+
aag1
17+
a.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___e_s___delete_c_d_s_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ aa(lp9
1515
S'--string'
1616
p10
1717
aa(lp11
18-
S'16'
18+
S'38'
1919
p12
20-
aa.
20+
aa.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___e_v_s___app_name_event_i_d_mask_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ aS'--half'
3333
p18
3434
ag18
3535
aa(lp19
36-
S'20'
36+
S'18'
3737
p20
3838
ag11
3939
ag11
40-
aa.
40+
aa.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___s_b___en_rout_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ aa(lp7
1212
S'Spare byte to make command even number of bytes.'
1313
p8
1414
aa(lp9
15-
S'--byte'
15+
S'--long'
1616
p10
1717
aa(lp11
1818
g6
19-
aa.
19+
aa.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___t_b_l___abort_ld_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ aa(lp9
1515
S'--string'
1616
p10
1717
aa(lp11
18-
S'16'
18+
S'38'
1919
p12
20-
aa.
20+
aa.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___t_b_l___activate_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ aa(lp9
1515
S'--string'
1616
p10
1717
aa(lp11
18-
S'16'
18+
S'38'
1919
p12
20-
aa.
20+
aa.

Subsystems/cmdGui/ParameterFiles/struct_c_f_e___t_b_l___del_c_d_s_cmd__t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ aa(lp9
1515
S'--string'
1616
p10
1717
aa(lp11
18-
S'16'
18+
S'38'
1919
p12
20-
aa.
20+
aa.

0 commit comments

Comments
 (0)