MilliTrendGetScreenData
This function can get average/minimum/maximum value of the member in current
screen for MilliTrend object.
double @MilliTrendGetScreenData(string classname, int pos, int type);
Parameters
string classname :
classname of the Milli-Data
Trend
object
int pos : the member position of MilliTrend
int type : type of value (0=ave, 1=min, 2=max)
Return Value
It returns
the value depending on what you have chosen for the type.
Example1)
a=@MilliTrendGetScreenData("MilliDataTrend1",1,1);
Description : You can get the min value of index 1 member on the list of
MilliDataTrend1 and save it to var a..
Version Information
Supported Version: 10.3.3
Related Helps
@MilliTrendAddMember()
@MilliTrendClear()
@MilliTrendClearPatternLine()
@MilliTrendGetCursorData()
@MilliTrendGetCursorSize()
@MilliTrendGetCursorTime()
@MilliTrendGetMax()
@MilliTrendGetMemberFlags()
@MilliTrendGetMin()
@MilliTrendGetRealPos()
@MilliTrendGetScreenData()
@MilliTrendGetShowSize()
@MilliTrendGetStartTime()
@MilliTrendGetTimeType()
@MilliTrendReLoad()
@MilliTrendRemoveAt()
@MilliTrendSaveToCsv()
@MilliTrendSetAutoUpdate()
@MilliTrendSetData()
@MilliTrendSetDataType()
@MilliTrendSetMax()
@MilliTrendSetMemberFlags()
@MilliTrendSetMin()
@MilliTrendSetPatternLine()
@MilliTrendSetPatternLineVisible()
@MilliTrendSetPatternLineVisibleByColor()
@MilliTrendSetShowSize()
@MilliTrendSetStartTime()
@MilliTrendSetStartTimeAuto()
@MilliTrendSetTimeType()
@MilliTrendShiftTime()