
You can insert or update data in the data in “real-time” and trigger a command for the Trend Control to reload data from the database and update the information on the screen.
2. Using the Trend Control and Data Source
“Text File” (in this example, Data.csv, stored in the application’s
directory). You can insert or update data in the data in “real-time” and
trigger a command for the Trend Control to reload data from the text file and
update the information on the screen.
3. Using the Legacy Trend to display
information from an array tag (in this example, TrendLegacy[1..10].x and
TrendLegacy[1..10].y array tags for the x and y axis, respectively). You can
modify the values of the array tags in “real-time” and the legacy Trend object
will update the information on the screen.
Remarks: Even
though the Legacy Trend is arguably easier to configure to update online data
in a XY plot, it should be used as last resort (in case the solution with the
Trend Control is not acceptable). In order to add a Legacy Trend in your
screen, you can follow the steps below:
a. Click on
the drop-down control to customize the toolbar from the ribbon interface, and
select “More Commands”
b. In the
“Choose Commands From” combo-box, select “Graphics Tools | Graphics”, scroll
down the list of commands, select “Trend (Legacy)” and click on the “Add”
button.
c. When
editing screens, you can add a Trend (Legacy) object by clicking on its icon
from the Quick Access Toolbar.
Application
& blog post credits: Fabio Terezinho, Product Manager, InTouch Machine
Edition
To download a
FREE copy of the InTouch Machine
Edition, complete this form.
No comments:
Post a Comment