
FactoryTalk Historian DataLink User Guide
114
Returns
Example:
The following calculates the square root of the value of the tag sinusoid
from the FactoryTalk Historian server thevax at midnight yesterday:
=PIExpVal("sqr('sinusoid')","y",0,"thevax")
Multiple Value Functions
Multiple value functions associate a FactoryTalk Historian point with a
range of time over which there can be one or many corresponding values at
different points in time.
PINCompDat()
Retrieves a number of FactoryTalk Historian point values corresponding to
a specified start time, using the following syntax:
PINCompDat(tagname, stime, numvals, outcode, PIServer, mode)
Arguments
The tag name or names matching the desired FactoryTalk Historian
points.
The start time for the range of retrieved values (in FactoryTalk
Historian time format).
The number of desired values (negative if counting backward in time).
Komentáře k této Příručce