Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

Exercise: Checking Trends History with Trend Object

Trend Configuration

  1. Create an INT (INT16) tag named Count in the Tag Editor with an initial value of 0. Then create a bool tag named ON that defaults to off.

2.) Create a Switch/Lamp on the page and drag the ON tag onto the Lamp. This will bind Value to the Tag ON.

  1. Make an On Press Command on the Lamp that will Toggle the Tag Value. This will make it so that the Lamp is able to turn on and off.

  1. Create the Trend by going to Insert > Trend or by simply clicking Trend on the Hotbar. In the Basic Properties of the Trend, set the Max Value to 20.

  1. Click and hold the Count tag and drag it over the Trend. This will create a new Pen in the Basic Properties of the Trend. Go to Pen 1, and change the Pen Width to 5.

Trend Runtime

Back to top of Trend Exercise.
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.