Picompfildat() – Rockwell Automation FactoryTalk Historian SE DataLink 4.2 User Guide User Manual
Page 125

9
●
FactoryTalk Historian DataLink Function Reference
●
●
●
●
●
117
Argument
Value
outcode (integer)
An output code.
PIServer (string)
The target FactoryTalk Historian server.
mode (string)
The method of handling values at boundaries of the time range.
Returns
Results display is determined by an output code (page 104) value.
Example:
The following retrieves compressed data points and corresponding time
stamps for the tag cdf144 starting from 1:00 a.m. to 3:00 a.m. this
morning from the default FactoryTalk Historian server with inside as
boundary type:
=PICompDat("cdf144","1:00","3:00",1,,"inside")
PICompFilDat()
Retrieves filtered FactoryTalk Historian point values corresponding to a
specified time range, using the following syntax:
PICompFilDat(tagname, stime, etime, filtexp, filtcode,
outcode, PIServer, mode)
Arguments
Argument
Value
tagname (string)
The tag name or names matching the desired FactoryTalk Historian
points.
stime (string)
The start time for the range of retrieved values (in FactoryTalk
Historian time format).
etime (string)
The end time for the range (in FactoryTalk Historian time format).
filtexp (string)
The filter expression used to filter results.