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.

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

Tip:<br />

Dynamic texts can be used if the text should be appropriately modified for output.<br />

• 4.8.2.3.2 Blinking Element on the Screen<br />

Foreground and background colors are changed to a desired blink frequency in order to output a<br />

blinking element on the screen.<br />

A field connected with this variable then blinks automatically with the selected colors.<br />

If the element should only blink because of a special state (i.e. in the event of error), a separate color<br />

variable is used and, depending on the status, set to the blink variable value or the "resting state" value.<br />

• 4.8.2.3.3 Bar Graphs with Color Changes<br />

Bars graphs with changing colors can also be used in the application. According to the limits, changing<br />

colors can be implemented at runtime by modifying the color variable.<br />

4.8.3 Controlling Fields with Status Variables<br />

Status variables can be connected to all fields in <strong>Visual</strong> <strong>Components</strong> which enables visibility control, input<br />

release, and synchronization with external variables.<br />

4.8.3.1 Connection<br />

The status variable is entered under the Parameter tab of the Properties dialog box. The following image shows<br />

the Parameter tab for a numeric input field.<br />

The connected status variable must be of data type UINT. The same variable can also be used for several fields<br />

as long as the synchronize function is not used. If the synchronize function is used, then it makes sense to use<br />

separate variables for each field, so that the processed (active) field can be more accurately determined.<br />

4.8.3.2 Assignment<br />

The status variable uses individual bits to control different field tasks. Depending on requirements, these bits<br />

can be set and/or evaluated by the application. If the status variable is 0, or if no status variable is connected,<br />

4.8.2.3 Application Possibilities 361

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

Saved successfully!

Ooh no, something went wrong!