"areaStopped"

Stops the specified area from displaying new values.

Synopsis

trendObj.areaStopped(int area, bool stopped)

setValue(trendObj, "areaStopped", int area, bool stopped);

getValue(trendObj, "areaStopped", int area, bool &stopped);

Parameter

Parameter Description
trendObj Trend for which the attributed should be get or set.
area ID of the area for which the attribute should be get or set.
stopped

TRUE = The stated area is now in stop mode

FALSE = The stated area is active

Description

The attribute allows to stop a specific area or to read the current state of the area.

Example

Following example writes the current state of the area with the ID 1 to the LogViewer.

main()
{
  bool state;
  int area = 1;
  state = myTrend.areaStopped(area);
  DebugN(state);
}

Assignment

Trend