
9 ● FactoryTalk Historian DataLink Function Reference
119
The end time for the range (in FactoryTalk Historian time format).
The interval between sampled values (in FactoryTalk Historian time
format).
An output code, either 0, 1, 2, or 3.
The target FactoryTalk Historian server.
Returns
An output code (page 104) of 2 transposes the output array that results
from an output code of 0. An output code of 3 transposes the output array
that results from an output code of 1.
Example:
The following retrieves sampled data for the tag located in cell B1, from
midnight yesterday to midnight today at 3-hour intervals:
=PISampDat(b1,"y","t","3h",1,)
Time stamps are also returned.
PISampFilDat()
Retrieves filtered, sampled FactoryTalk Historian point values
corresponding to a specified time range, using the following syntax:
PISampFilDat(tagname, stime, etime, interval, filtexp,
filtcode, outcode, PI Server)
Comentarios a estos manuales