"curveValueX"
Sets an X value and status for a curve at a certain time.
Synopsis
setValue(string shape, "curveValueX", string curve, float Xvalue, time ti, bit64
status);
shape.curveValueX(string curve, float Xvalue, time ti, bit64
status);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
curve | Name of the curve |
Xvalue | Value that is set |
ti | Time to set the value |
status | The 64 bit status from the database (corresponds to _offline.._status) |
Description
Sets an X value and a status for a curve for the trend type value over value, at a certain time.
Example
Sets the value of the curve "curve1" to 5.5 at current time.
main()
{
bit64 stat = 15;
time now = getCurrentTime();
TREND1.curveValueX("curve1",5.5,now,stat);
TREND1.curveValue("curve1",5.5, now,stat);
}
Assignment
Trend