Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI System Management Tools

Min (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the minimum of a set of values.

Syntax

Min(x1, ..., xn)

Arguments

x1...xn

May be numbers, times, or time periods, but all must be the same data type.

Returns

The minimum of the arguments. The result has the same data type as the arguments.

Exceptions

Arguments whose run-time values are digital states are ignored. If all values are digital states, Min returns an error value.

Example

Min('*', 'y', 'Saturday')

Min(14, 'tag1', 14.5, TagVal('tag2','14-Dec-97'))

Min('*'-'*-1h', 't'-'y', TimeEq('tag1', 'y', 't',50))

Max (page )

In This Topic
TitleResults for “How to create a CRG?”Also Available in