Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TLogVal

Returns the report data value of the assigned tag.

Function

ExpressionCommand

TLogVal (“Tag Name”, “Time Value”, “Value Type”)

Script

n = TLogVal (“Tag Name”, “Time Value”, “Value Type”)

Description

This function returns the data value of the Tag Name according to the Time Value and Value Type from the report. The tag must be assigned as a report tag.

Example

Returns the value increment in Generator tag, from 2AM to 3AM yesterday.

TLogVal (“Generator”, “-1D3H”, “I_SUM”) = n

...