Manual

PoBlocks user manual (March 31, 2014)
16
www.poscope.com
9. Compile process
After PoBlocks diagram is finished, a built-in compiler is used to translate it into PoIL code that is then
transferred and executed on a PoKeys device. During compiling, the diagram is checked for errors and if
any are detected, a pop-up error list window will appear and compiler process will be stopped. User has
to correct the errors before the diagram can be fully compiled and transferred to the PoKeys device.
Compile process executes the following operations
- The blocks are first put into a proper execution sequence based on their function and how they
are connected to other blocks. PoIL core executes code of one block after the other and the
proper sequence is required to obtain correct result. If the diagram consists of algebraic loops
(closed loops containing blocks that can not be properly sectioned), an error is thrown and user
has to insert a proper '1 T delay' block somewhere in the loop in order to instruct the compiler
where to split the loop.
- After the block execution sequence is defined, PoIL code is generated for each block.
- Code of all blocks is joined and optimized.
- Compile time errors (if any) are displayed in the errors pop-up window.
10. Modes of operation (Run, Step, Stop)
When a PoKeys device is selected in the 'Device selection' dialog, an operating mode of the PoIL core is
automatically displayed in device controls as a highlighted item.
STOP: PoIL core is in STOPPED state, no PoIL code is being
executed
Step: After pressing Step, one cycle of PoIL diagram will be
executed and the PoIL core will be put back to STOPPED
mode
Run: PoIL core is running normally
Exception: PoIL core encountered an exception and had to
be stopped. For more info on the cause of the exception,
click the red Exception button.