GetMinDCIValue

GetMinDCIValue(node, dciId, from, to)): String

Get the minimum value of the DCI for the given period. The DCI value must be of numeric type.

Table 1. Parameters

node

Node

node object instance (e.g. )

id

Integer

DCI ID

from

Integer

Start of the period (as UNIX timestamp).

to

Integer

End of the period (as UNIX timestamp).

Return

Minimum value or null on failure.

value = GetMinDCIValue(FindObject("MYWORKPC"), 18, 0, time()); //Minimal value from the beginning till now
println(value); //Will print minimal value