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.

Now, the application can use the complete panel project.<br />

You must be careful when importing complete panel objects when different display hardware is used for both<br />

projects. Only the properties of the target hardware (project) should be supported which are then adapted to the<br />

imported project.<br />

4.13 Frequently Asked Questions (FAQ)<br />

4.13.1 Frequently Asked Questions (FAQ) − Input Fields<br />

How can passwords longer than those provided with password input fields (6 characters) be entered?<br />

A maximum of 6 characters can be entered for passwords when password input fields are used. If this length is<br />

not sufficient, then a string input field can be used with the "Password" edit mode.<br />

4.13.2 Frequently Asked Questions (FAQ) − Scaling<br />

4.13.2.1 General<br />

Scaling in <strong>Visual</strong> <strong>Components</strong> 2.2 fulfills two tasks. On one hand, input can be limited to a value range different<br />

than that of the connected data type. On the other hand, values can actually be scaled linearly.<br />

The following description gives an overview of how scaling functions internally, which features are included, and<br />

how internal performance is affected with different configurations.<br />

This document should be considered as a reference for developers and as a helpful aid to configuration for<br />

users. We have tried to describe all types of configurations and to supply the background necessary to<br />

understand VC 2.2 Runtime.<br />

Scaling can be illustrated with Step 9 in the demo project.<br />

4.13.2.2 Mathematics Reference<br />

Scaling in VC 2.2 basically functions the same as a linear function with the equation<br />

Linear Equation:<br />

y = k * x + d<br />

Straight Line Slope:<br />

k=dy/dx<br />

Shifting to the Y axis is calculated as follows:<br />

d=Yp −(xp*dy/dx)<br />

y ... Function value à scaled value<br />

x ... Output value à value to be scaled<br />

k ... Slope<br />

d ... Shift to the Y axis<br />

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

438 4.13 Frequently Asked Questions (FAQ)

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

Saved successfully!

Ooh no, something went wrong!