23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

_INIT void C_Prog_init(void) /* Init Procedure */<br />

{<br />

IOValue = 0;<br />

LedCtrl = 0;<br />

}<br />

_CYCLIC void C_Prog_cycle(void) /* Cyclic Procedure */<br />

{<br />

}<br />

/* End C Source */<br />

4.2.1.4 CAN − Step 4: Applying Global Settings to <strong>Visual</strong> <strong>Components</strong><br />

If you double−click on the "canpanel" panel object in the software view, the <strong>Visual</strong> <strong>Components</strong> editor opens<br />

with the global project options showing.<br />

For this simple example, no special settings are required. We can continue directly to the next step.<br />

4.2.1.5 CAN − Step 5: Inserting an Input Field<br />

In this step, you will insert a simple input field.<br />

The input field has to be inserted into a picture. <strong>Visual</strong> <strong>Components</strong> has already created the first picture for you<br />

which you only have to select as shown below. By doing so, the <strong>Visual</strong> <strong>Components</strong> editor display switches to<br />

the picture editor for the 'INIT_PIC' picture.<br />

4.2.1.4 CAN − Step 4: Applying Global Settings to <strong>Visual</strong> <strong>Components</strong> 227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!