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 />

DATAOBJ routines are called by the <strong>Visual</strong> <strong>Components</strong> alarm system.<br />

3.5.2 <strong>Visual</strong> <strong>Components</strong> Data Modules<br />

In addition to executable code modules and drivers, a <strong>Visual</strong> <strong>Components</strong> project also consists of data objects.<br />

These data objects are created when a project is compiled and are automatically transferred to the target<br />

system.<br />

A <strong>Visual</strong> <strong>Components</strong> project consists of 3 different data objects. 2 resource modules are always attached to a<br />

project global module. The 'xxx01' module contains picture description data. The 'xxx02' module contains project<br />

fonts and bitmaps.<br />

This division can be seen here in this simple project example.<br />

The main module in this project is the 'VISU' panel object. Global project data are contained in this module.<br />

Additional modules are always labeled with the project name plus a 2−digit number.<br />

Picture and field information for project pictures is contained in the 'VISU01' module, which belongs to the 'VISU'<br />

project.<br />

All necessary resource data for bitmaps and fonts are stored in the 'VISU02' module. This module can become<br />

very large (many different character fonts and bitmaps). If nothing has been changed in the texts and bitmaps,<br />

they will not be retransferred to the target system.<br />

3.5.3 Internal Details About Project Storage<br />

A list of required files is shown here to gain a better understanding of the proper <strong>Visual</strong> <strong>Components</strong> structure<br />

and to better analyze problems.<br />

To secure data, the project file is copied after each successful compilation.<br />

Warning:<br />

Please do not change, delete, or move any files or directories from the AS project. This can cause the project to<br />

crash!<br />

3.5.3.1 Project Storage Example<br />

3.5.2 <strong>Visual</strong> <strong>Components</strong> Data Modules 211

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

Saved successfully!

Ooh no, something went wrong!