Data Sheet

LABCENTER ELECTRONICS LTD.
190
error will navigate to the problem. In our case we have missed a semi-colon from the end of the
line.
Some errors - such as linker errors - will obviously not be navigable. In these cases
you may need to change the options/includes via the project settings command.
When we run the simulation this time we can use the button to cycle through the modes of
operation until our own is reached (time -> temperature -> test). We should see our displayed
number on the display at this point and a byte cycle count on the LED's
Again, press the stop button on the animation control panel to stop the simulation.
This example is a little contrived and not terribly exciting but it does show how you can quickly
write and simulate code on virtual hardware.
Active Popups
So far, we have been writing our code in the VSM Studio tab and simulating on the schematic
capture tab. There is nothing wrong with this and it can work very well on two monitors if you
drag one of the tabs onto another screen.
When debugging however, you are typically more interested in stepping the code and looking
only at small sections of the board for verification. The active popup system in Proteus is
designed to do exactly that - bringing defined sections of the schematic into VSM Studio during
simulation.
In our case, the temperature sensor is a good example of something we might want to see and
interact with during debugging. To add it as an active popup:
1) Switch to the Proteus tab and selecting the Active Popup icon.