SetAutoApply Method

About this task

SetAutoApply is a method for a Trend Invoke method action.

  • Purpose: StAutoApply
  • Advanced Configuration: SetAutoApply

Purpose: SetAutoApply

To stop/start implementation of:

  • Adding lines on a Trend chart.
  • Implementing separate line visibility property commands, e.g. changing line colors.
Note:
  • This method is particularly important when several lines are being added and/or if their properties are changed. By stopping all activity and then restarting with a totally refreshed view, the Trend chart will avoid issues such as redrawing itself after each change.

Implementing SetAutoApply during is straightforward.

Procedure

  1. Set SetAutoApply to 0.

    SetAutoApply is off.

  2. Add lines and/or implement visibility property commands.
  3. Set SetAutoApply to 1.

    SetAutoApply is on.

Results

The lines are added and other visibility property commands are implemented.

  • SetAutoApply does not affect enabled runtime actions in the Trend Control Properties dialog box.

Advanced Configuration: SetAutoApply

Click Advanced on the Action tab of the Procedure Information dialog box.

The Edit Method dialog box opens for the S etAutoApply method

Advanced configuration is as follows.

Stops implementation of separate line visibility property commands when on; visibility pending states take affect when SetAutoApply is set to 1 (True), refreshes all properties and allows visibility to resume.

Field Description
Method name Name of the selected method. Note: Another method can be selected from the drop-down list
Parameters bAutoApply One of the following integers.
Value Trending will:
0 Stop adding lines and/or implementation of separate line visibility property commands.
1 Enable adding lines and/or implementation of separate line visibility property commands.
2 Toggle