Difference between revisions of "Changing the Speed of a Simulation"

From Flowcode Help
Jump to navigationJump to search
m (ReeceL moved page Changing The Speed Of A Simulation to Changing the Speed of a Simulation without leaving a redirect)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:Project_Options_General_Options.png]]
+
<sidebar>Sidebar: Flowcode Help Overview:Simulation</sidebar>
 +
[[File:SimulationSpeed.png|right]]
 +
[[File:Simulation debugger.png|right]]
  
 +
'''Simulation speed'''
  
'''Clock speed'''
+
Simulation speeds can vary from 0.25 Hz (or one simulation every 4 seconds) to 1000Hz (or one simulation every 0.001 seconds). This can be selected from the drop down options, or from the slider bar as seen in the Simulation Debugger window. When adjusting the simulation speed with the slider bar, you should note that the slowest speed is when the bar is towards the right hand side.
 
 
Select the Clock Speed option from the Build -> Project Options menu to change the speed of the simulation. Simulation speeds can vary from 0.25 Hz (or one simulation every 4 seconds) to 1000Hz (or one simulation every 0.001 seconds).  
 
 
 
  
'''Simulation speed'''
+
In 'Normal mode' Flowcode does not update the variables, call stack and microcontroller views whilst it is running, but any external component views do get updated. The normal speed is the default setting, and allows the simulation to at a good speed yet allowing the graphics to maintain a good refresh speed for animations etc.
  
In addition, you can ask Flowcode to simulate the flowchart as fast as possible. When this happens, Flowcode does not update the variables, call stack and microcontroller views whilst it is running but any external component views do get updated.
 
  
  
'''Configuration information'''
+
'''''Clock Speed (Hz)'''''
  
Select 'Configure' from within the Build > Project Options menu to open the chip download configuration window.
+
Note: The Clock Speed option refers only to the speed of your hardware oscillator circuit. Changing this value will not alter the simulation speed.
A number of options are available that allow you to change download parameters. For details on the various options see [[Configuring The Chip]].
 

Latest revision as of 10:02, 5 July 2016

<sidebar>Sidebar: Flowcode Help Overview:Simulation</sidebar>

SimulationSpeed.png
Simulation debugger.png

Simulation speed

Simulation speeds can vary from 0.25 Hz (or one simulation every 4 seconds) to 1000Hz (or one simulation every 0.001 seconds). This can be selected from the drop down options, or from the slider bar as seen in the Simulation Debugger window. When adjusting the simulation speed with the slider bar, you should note that the slowest speed is when the bar is towards the right hand side.

In 'Normal mode' Flowcode does not update the variables, call stack and microcontroller views whilst it is running, but any external component views do get updated. The normal speed is the default setting, and allows the simulation to at a good speed yet allowing the graphics to maintain a good refresh speed for animations etc.


Clock Speed (Hz)

Note: The Clock Speed option refers only to the speed of your hardware oscillator circuit. Changing this value will not alter the simulation speed.