This function can get the value of level devide of the MilliTrend object.
int @ MilliTrendGetLevelDevide(string classname, int type);
Parameters
string classname :
classname of the Milli-Data
Trend
object
int type : type of level devide ( 0 = Horizontal, 1 = Vertical )
Return Value
It returns value of the level devide of the MilliTrend object
Example1)
$AI_0000 = @MilliTrendGetLevelDevide("MilliDataTrend1", 0);
Description : You can get the value of horizontal level devide of MilliDataTrend1 and save it to AI_0000 tag.
Example2)
$AI_0000 = @MilliTrendGetLevelDevide("MilliDataTrend1", 1);
Description : You can get the value of vertical level devide of MilliDataTrend1 and save it to AI_0000 tag.
Version Information
Supported Version: 10.3.6.14
Related Helps
@MilliTrendSetPatternLineVisible()