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.

3.3 Programming Interface for Controller Tasks − VISAPI<br />

The programming interface provides the opportunity to build a bridge between the controller application and the<br />

<strong>Visual</strong> <strong>Components</strong> application. It enables control of the visualization application while it is operating as well as<br />

output of user−defined graphics from the control application.<br />

This section provides a brief VISAPI overview which discusses the most important functions used.<br />

For a more detailed description of each function, click on the respective link.<br />

The VISAPI − General tutorial should be read before reading descriptions of the individual functions.<br />

3.3.1 Requirements and Initializing<br />

VA_Setup<br />

VA_SetupX<br />

VA_Saccess, VA_Srelease<br />

Call Description<br />

Initializing the<br />

VISAPI<br />

Advanced<br />

Initialization<br />

General<br />

Functions<br />

The VISAPI is initialized with these functions. It is very important that these functions are used correctly.<br />

Therefore, we recommend reading VISAPI − General Instructions.<br />

3.3.2 Graphics and Text<br />

Call Description<br />

VA_Rect Rectangles<br />

VA_Line Lines<br />

VA_Ellipse Ellipses and Circles<br />

VA_Textout, VA_GetTextByTextGroup Texts<br />

VA_Redraw, VA_GetDisplayInfo General<br />

These routines can be used to output general text and graphics. Functions for drawing lines, rectangles, and<br />

ellipses are available.<br />

3.3.3 Setting Contrast and Brightness<br />

Call Description<br />

VA_SetContrast Contrast<br />

VA_SetBrightness Brightness<br />

These functions can be used to change contrast and brightness on the target.<br />

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

134 3.3 Programming Interface for Controller Tasks − VISAPI

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

Saved successfully!

Ooh no, something went wrong!