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

From Flowcode Help
Jump to navigationJump to search
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:Project_Options_General_Options.png]]
+
[[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 08:35, 2 July 2019

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.