Difference between revisions of "Changing the Speed of a Simulation"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<sidebar>Sidebar: Flowcode Help Overview:Simulation</sidebar> | <sidebar>Sidebar: Flowcode Help Overview:Simulation</sidebar> | ||
[[File:SimulationSpeed.png|right]] | [[File:SimulationSpeed.png|right]] | ||
− | + | [[File:Simulation debugger.png|right]] | |
− | |||
− | |||
− | |||
'''Simulation speed''' | '''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). | + | 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. | Note: The Clock Speed option refers only to the speed of your hardware oscillator circuit. Changing this value will not alter the simulation speed. |
Latest revision as of 10:02, 5 July 2016
<sidebar>Sidebar: Flowcode Help Overview:Simulation</sidebar>
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.