"curveHistory"

Assigns history Y values from a database to a curve.

Synopsis

setValue(string shape, "curveHistory", string Name, dyn_string dps);

shape.curveHistory(string Name, dyn_string dps);

Parameters

Parameter Description
shape Name of the object
Name Name of curve
dps Label field of the Dp variables used for the Y values of a curve

Description

This attribute is used to assign history (database) values and values currently displayed for scrolling back in the trend display. When using dpConnect(), the function should be called before the actual dpConnect() in the main() function.

Example

The following example inserts the values of DP "Value_2." as history values into "curve1".

main() 
{ 
  dyn_string ds; 
  ds=makeDynString("Value_2.:_original.._value"); 
  TREND1.curveHistory("curve1", ds); 
}

Assignment

Trend