"timeBegin"
Start time of the interval displayed in the trend.
Synopsis
setValue(string shape, "timeBegin", time StartTime);
shape.timeBegin(time StartTime);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
StartTime | New start time |
Description
Sets a new start time "StartTime" for the interval displayed in the trend. The attribute "timeInterval" is used to set the length of the interval displayed.
Example
The following example sets a new interval. The new start time is set first, followed by the length of the interval.
main()
{
time t, u;
// Interval times
t=makeTime(1999, 1, 1, 14, 00);
u=makeTime(1999, 1, 1, 16, 00);
// Set the interval
TREND1.timeBegin(t);
TREND1.timeInterval(u-t);
}
Assignment
Trend