beautypg.com

Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 259

background image

9

ReportsPlus

259

AddLogo(Left As Double, Top As Double,
Width As Double, Height As Double,
File As String)

Add a picture to the report page header with the specified coordinates
and size. If the original picture is not the same size as the specified
size then the picture will be re-scaled to fit and the aspect ratio of the
picture will not be maintained if the specified size is different from
the original size.

The File parameter can be either an absolute file path
(C:\Logos\OurLogo.gif) or a relative file path
(..\Logos\OurLogo.gif). Relative paths will be relative to the
FactoryTalk EnergyMetrix\bin directory

AddPicture(Left As Double, Top As
Double, Width As Double, Height As
Double, File As String)

Add a picture to the report body with the specified coordinates and
size. If the original picture is not the same size as the specified size
then the picture will be re-scaled to fit and the aspect ratio of the
picture will not be maintained if the specified size is different from
the original size.

The File parameter can be either an absolute file path
(C:\Pictures\MyPicture.gif) or a relative file path

(..\Pictures\ MyPicture.gif). Relative paths will be relative to the
FactoryTalk EnergyMetrix\bin directory.

Average(ValueType.enumValue[,
DateTime startDate, DateTime
endDate])

Calculates the average of the specified value type over the report
date/time range (or the specified date/time range if optional startDate
and endDate arguments are present). Returns a Double value

GetData(ValueType.enumValue, DateTime
utcTimeStamp)

Returns the value of the most recent logged value of the selected
ValueType, looking back from the utcTimeStamp argument for a
duration of one logging interval. The result is an Object variable
which contains the tag value or Nothing if no tag value can be found

GetTagData(int meterTagId, DateTime
utcTimeStamp)

Returns the value of the most recent logged value of the selected
meterTagId, looking back from the utcTimeStamp argument for a
duration of one logging interval. The result is an Object variable
which contains the tag value or Nothing if no tag value can be found

GetUnit(ValueType.enumValue)

Returns a String containing the Units value associated with the
selected value type

Lowest(ValueType.enumValue[, DateTime
startDate, DateTime endDate])

Returns the smallest instance of the selected ValueType over the
report date/time range (or the specified date/time range if optional
startDate and endDate arguments are present). Returns a Double
value

LowestTimestamp(ValueType.enumValue[,
DateTime startDate, DateTime
endDate])

Returns a DateTime structure containing the UTC time stamp of the
smallest instance of the selected ValueType over the report date/time
range (or the specified date/time range if optional startDate and
endDate arguments are present)

NLowest(ValueType.enumValue, int N[,
DateTime startDate, DateTime
endDate])

Returns a Double array of N elements containing the N smallest
instances of the selected ValueType over the report date/time range
(or the specified date/time range if optional startDate and endDate
arguments are present)

Method

Description