Skip to content

ViSi-Genie Magic: Main Loop Counter


Number 4D-AN-00156
Difficulty Medium
Supported Processors PICASO, DIABLO-16, PIXXI-28, PIXXI-44
Supported Environments ViSi-Genie


This application note primarily shows how to add a counter in the main loop and print it using Magic Objects.. The Magic Code and Event is under the Genie Magic pane in Workshop 4 Pro. In this application it contains a 4DGL code that adds a counter in the main loop and then prints if a button is pressed.