"curveValue"

Sets a Y value and status for a curve at a certain time.

Synopsis

setValue(string shape, "curveValue", string curve, float Yvalue, time ti, bit64 status);

shape.curveValue(string curve, float Yvalue, time ti, bit64 status);

Parameters

Parameter Description
shape Name of the object
curve Name of curve
Yvalue Value that is set
ti Time to set the value
status The 64 bit status from the database (corresponds to _offline.._status)

Description

Sets a Y value and a status for a curve for the trend type value over value, at a certain time.

Example

Sets the value of 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