23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If the compilation was successful, then the following dialog box prompts you to transfer the project. Just click on<br />

Transfer and Automation Studio transfers all necessary components to the controller.<br />

A progress indicator is displayed once again while the project is being transferred.<br />

The configuration of the controller is updated if it has changed or hasn't been set yet. Since the controller has to<br />

be restarted for this, the following dialog box is shown:<br />

Confirm with Yes to update the configuration and transfer the project to the controller.<br />

After compiling and transferring the project, you will see the start picture of the "INIT_PIC" panel object on the<br />

target system display. In the next step, you will test the application that you have just created.<br />

4.2.2.13 IPC − Step 13: Test Operations<br />

After you have transferred the project to the controller, the 'INIT_PIC' start page which you configured should be<br />

displayed on the IPC screen. You have now implemented the following functions in your project:<br />

4.2.2.13.1 Page 1: Dynamic Bitmap<br />

The first picture contains a dynamic bitmap which can be adjusted using the two touch buttons located on its left<br />

and right sides. The number of the currently displayed bitmap is shown in the output field underneath the bitmap<br />

object.<br />

Using the HotSpot in the lower right corner takes you to 'PAGE2'.<br />

4.2.2.13.2 Page 2: Ellipse with a Dynamic Fill Color<br />

This picture displays an ellipse which is filled in with the color which is numerically represented by the input field<br />

located directly underneath it. The input field must be pressed to change the value. A numeric keypad is then<br />

opened to enter the value. After confirming the entry, the ellipse is displayed with the selected color.<br />

Using the HotSpot in the lower right corner takes you to 'PAGE3'.<br />

4.2.2.13.3 Page 3: ListBox with Selection Confirmation<br />

This picture contains a ListBox with 10 items, 'Text1' to 'Text10'. 6 texts are displayed simultaneously. The<br />

selected item is changed using the "Up" and "Down" buttons (the selection bar moves up or down). The output<br />

field between the buttons shows the index of the currently selected item. Using the 'Enter' button, the currently<br />

selected item or index can be saved to another variable which is connected to the output field on the right side of<br />

the 'Enter' button.<br />

Pressing the HotSpot in the lower right corner takes you back to Page 1 − the 'INIT_PIC'.<br />

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

262 4.2.2.13 IPC − Step 13: Test Operations

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

Saved successfully!

Ooh no, something went wrong!