TimeNE (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Find the total time in seconds, within a range, when a point is unequal to a given value.
Syntax
TimeNE(tagname, starttime, endtime, value)
Arguments
tagname
A tagname.
starttime
Beginning of the time range to search. Relative times are relative to endtime, if endtime is not itself a relative time.
endtime
End of the time range to search. Relative times are relative to starttime, if starttime is not itself a relative time. This time must be after starttime.
value
Must be an integer or real number or digital state (character string); the value to search for.
Returns
The time period in seconds within the given range, for which the point was unequal to the given value.
Exceptions
None.
Example
TimeNE('tag1', 't', '*',40.0)
TimeNE('digitaltag', '-1d', '*',TagVal('digitaltag', '14-Dec-97'))
TimeNE('digitaltag', '14-Dec-97', '*', "On")
TimeEq (page ), TimeGE (page ), TimeGT (page ), TimeLE (page ), TimeLT (page )