Sample Program : Program Output

Program Output

The following is the output when the sample C program is executed. Information for an activity-chart in the ACCM project is extracted.

enter name of project: ACCM
enter activity name: MAIN_AC
activity textual information
============================
activity name: SC_ACTIVITIES
activity in chart: 12
activity unique name: SC_ACTS_CH:SC_ACTIVITIES
activity synonym: SCA
activity type: INTERNAL
activity termination: MISSING
activity short description: Speed Controller Activities
activity long description:
activity graphical information
==============================
string SC_ACTIVITIES at 5.000000,14.208320 in color 7
line from 4.625000,14.791700 to 4.625000,4.541660 in color 8
line from 4.625000,4.541660 to 19.958320,4.541660 in color 8 line from 19.958320,4.541660 to 19.958320,14.791700 in color 8
line from 19.958320,14.791700 to 4.625000,14.791700 in color 8
activity textual information
============================
activity name: CONTROL_SC
activity in chart: 14
activity unique name: SC_X12:CONTROL_SC
activity synonym: CSC
activity type: CONTROL
activity termination: MISSING
activity short description: Manage Speed Controller
activity long description:
!PURPOSE
This activity determines when the capabilities of the Speed Controller are activated.
!END_PURPOSE
!BRIEF_DESCRIPTION
This control activity is described by a statechart.
!END_BRIEF_DESCRIPTION
activity graphical information
==============================
string CONTROL_SC at 10.583320,13.041700 in color 13 line from 9.958330,13.791700 to 9.958330,12.791700 in color 3 line from 9.958330,12.791700 to 14.666700,12.791700 in color 3 line from 14.666700,12.791700 to 14.666700,13.791700 in color 3 line from 14.666700,13.791700 to 9.958330,13.791700 in color 3
activity textual information
============================
activity name: SET_CRS_SPEED
activity in chart: 19
activity unique name: SETTING:SET_CRS_SPEED
activity synonym: SDCS
activity type: INTERNAL
activity termination: SELF_TERMINATION
activity short description: Set Desired Cruising Speed
activity long description:
!PURPOSE This activity stores the current speed as the desired cruising speed.
!END_PURPOSE
!BRIEF_DESCRIPTION
The activity reads the current speed and records it in the data-store that stores the desired cruising speed.
!END_BRIEF_DESCRIPTION
activity textual information
============================
activity name: CALIBRATE
activity in chart: 19
activity unique name: SETTING:CALIBRATE
activity synonym: CRPM
activity type: INTERNAL
activity termination: SELF_TERMINATION
activity short description: Calibrate Rotations per Mile
activity long description:
!PURPOSE
The activity counts and updates the number of drive shaft rotations in a measured mile for different tire sizes.
!END_PURPOSE
!BRIEF_DESCRIPTION
--- TBD
!END_BRIEF_DESCRIPTION
activity graphical information
==============================
string CALIBRATE at 15.291700,10.583320 in color 7 line from 14.791655,11.354160 to 14.791655,10.312480 in color 8 line from 14.791655,10.312480 to 19.124985,10.312480 in color 8 line from 19.124985,10.312480 to 19.124985,11.354160 in color 8 line from 19.124985,11.354160 to 14.791655,11.354160 in color 8
activity textual information
============================
activity name: MEASURE_SPEED
activity in chart: 18
activity unique name: CHECK:MEASURE_SPEED
activity synonym: MDCS
activity type: INTERNAL
activity termination: CONTROLLED_TERMINATION
activity short description: Measure Distance and Current Speed activity long description:
!PURPOSE
This activity calculates the current speed, and updates the total mileage of the car.
!END_PURPOSE
activity graphical information
==============================
string SET_CRS_SPEED at 5.625000,10.666700 in color 7 line from 5.333330,11.500000 to 5.333330,10.458320 in color 8 line from 5.333330,10.458320 to 9.666660,10.458320 in color 8 line from 9.666660,10.458320 to 9.666660,11.500000 in color 8 line from 9.666660,11.500000 to 5.333330,11.500000 in color 8
!BRIEF_DESCRIPTION
The activity measures the distance traveled in a brief time interval, and calculates the average speed over this time. It adds the distance to the total mileage and updates the mileage store.
!END_BRIEF_DESCRIPTION
activity graphical information
==============================
string MEASURE_SPEED at 15.375000,6.416660 in color 7
line from 14.875035,7.229170 to 14.875035,6.187490 in color 8 line from 14.875035,6.187490 to 19.208365,6.187490 in color 8 line from 19.208365,6.187490 to 19.208365,7.229170 in color 8 line from 19.208365,7.229170 to 14.875035,7.229170 in color 8
activity textual information
============================
activity name: MAINTAIN_SPEED
activity in chart: 25
activity unique name: OPERATE:MAINTAIN_SPEED
activity synonym: MDS
activity type: INTERNAL
activity termination: CONTROLLED_TERMINATION
activity short description: Maintain Desired Speed
activity long description:
!PURPOSE
This activity keeps the speed of the vehicle at a desired value.
!END_PURPOSE
!BRIEF_DESCRIPTION
This activity compares the current speed to the desired speed and controls the throttle accordingly.
!END_BRIEF_DESCRIPTION
activity graphical information
==============================
string MAINTAIN_SPEED at 5.916660,6.875000 in color 7 line from 5.374995,7.645840 to 5.374995,6.604160 in color 8 line from 5.374995,6.604160 to 9.708325,6.604160 in color 8 line from 9.708325,6.604160 to 9.708325,7.645840 in color 8 line from 9.708325,7.645840 to 5.374995,7.645840 in color 8
activity textual information
============================
activity name: ACCELERATE
activity in chart: 25
activity unique name: OPERATE:ACCELERATE
activity synonym: CTBAP
activity type: INTERNAL
activity termination: CONTROLLED_TERMINATION
activity short description:
Control Throttle by Accelerator Pedal
activity long description:
!PURPOSE
This activity controls the speed according to the accelerator pedal position which is determined by the driver.
!END_PURPOSE
!BRIEF_DESCRIPTION
--- TBD
!END_BRIEF_DESCRIPTION
activity graphical information
==============================
string ACCELERATE at 7.750000,5.166660 in color 7
line from 7.249995,5.937500 to 7.249995,4.895820 in color 8 line from 7.249995,4.895820 to 11.583325,4.895820 in color 8 line from 11.583325,4.895820 to 11.583325,5.937500 in color 8
line from 11.583325,5.937500 to 7.249995,5.937500 in color 8