Difference between revisions of "Starting Flowchart Simulation"

From Flowcode Help
Jump to navigationJump to search
Line 16: Line 16:
  
  
To enable ICD mode go to Project Options and the ICD tab. After this option has been enabled you will be able to swap between simulation and ICD mode via the "ICD mode" option in the 'Debug' menu.
+
enable ICD mode by going to the [[Debug Options]] tab in the [[Project Options]] window. After this option has been enabled you will be able to swap between simulation and ICD mode via the "ICD mode" option in the 'Debug' menu.
  
  
 
Some of the components do not have a simulation feature. These components have a red box drawn around them when they are displayed on the panel. The red box indicated that the component will dissapear when the simulation is running.
 
Some of the components do not have a simulation feature. These components have a red box drawn around them when they are displayed on the panel. The red box indicated that the component will dissapear when the simulation is running.

Revision as of 12:59, 30 May 2013

<sidebar>Sidebar: Overview of Simulation</sidebar>

Gen Main Toolbar Simulation Labelled.png

To simulate a flowchart, select the Go/Continue option from the Debug menu or press F5. Flowcode will go into simulation mode and will start to execute the icons in the flowchart. A red rectangle indicates the icon that is about to being executed. The variables, call stack and chip windows are updated on every step of the simulation. In addition, if there are external components attached to the microcontroller then their state is shown in the panel.


If you have asked Flowcode to simulate the flowchart as fast as possible then the variables, call stack and microcontroller views are not updated until you pause the flowchart execution.



Alternatively if you wish to simulate the flowchart step by step from the start, then use the Step option from the Debug menu or press F8.


Changing the speed of a simulation can be done by altering options within the Project Options.


enable ICD mode by going to the Debug Options tab in the Project Options window. After this option has been enabled you will be able to swap between simulation and ICD mode via the "ICD mode" option in the 'Debug' menu.


Some of the components do not have a simulation feature. These components have a red box drawn around them when they are displayed on the panel. The red box indicated that the component will dissapear when the simulation is running.