Graphical Back Animation (GBA)
Graphical Back Animation (GBA) allows you to view an animation of the activities/states/flowchart actions in your model. This is not a simulation, but rather an animation that runs in parallel to the running of your executable.
The GBA data is passed from the application to the Rational Statemate model via the GBA server, which processes the data received from the application and performs the actual painting of the charts in the model.
If the Graphical Back Animation check box is selected, the code generator will generate the code required for this feature.
● Animate Activities
If this check box is selected, the code generator will generate the flags required for displaying activity animation when the animation is run.
● Animate States and Flowchart Actions
If this check box is selected, the code generator will generate the flags required for displaying animated statecharts and flowcharts when the animation is run.If the Graphical Back Animation check box was selected, you can then choose one of the following animation methods:
●
Enables usage of GBA with a target debugger. When this method is used, the animation data is passed from the running application to the GBA Server indirectly, using a 3rd party debugger.
●
The text box next to the radio button contains the name of the source code file for the animation functions. If you prefer to use animation code that you have modified, type in the name of the appropriate source code file, or click ... to browse for the file.
● Direct, using Sync. TCP/IP
Enables usage of GBA synchronized with the running application. When this method is used, the animation data is read directly from the running application, and is passed immediately to the GBA server, using the TCP/IP protocol.
●
Enables usage of GBA where the animation is not synchronized with the running application. When this method is used, the animation data is read directly from the running application, but rather than being passed immediately to the GBA server, the animation data is stored in a buffer which sends the data to the GBA server when the GBA task is running, using the TCP/IP protocol.
●
This method allows you to have the animation run as a separate task.
When the buffered method is selected, you can define the following settings for the GBA task:
●
●
●