Function iseg_getItem

Read an item value, specified by the item object, from the data cache.

IsegItem iseg_getItem(const char *name, const char *object)

Parameter name is the session name passed to iseg_connect (for example "IF0").
Parameter object contains the fully qualified name to read out an iseg item from data cache.
Return value is an IsegItem.
  If the function is interrupted in cause of a wrong object string,
  the "item quality" contains ISEG_ITEM_QUALITY_ERROR.

Examples:

 iseg_getItem("IF0", "0.4.1.VoltageMeasure");
  Object: "0.4.1.VoltageMeasure"
  Value: "100.345"
  Quality: "002"
  TimeStampLastRefreshed: "1431520867.2152 "
  TimeStampLastChanged: "1431520867.0982 "

 iseg_getItem("IF0", "0.15.Supplies[3]");
  Object: "0.4.1.Supplies[3]"
  Value: "ot.2358"
  Quality: "002"
  TimeStampLastRefreshed: "1431520992.6796"
  TimeStampLastChanged: "1431520992.6796"

 iseg_getItem("IF0", "0.ModuleList");
  Object: "0.ModuleList"
  Value: "o2,4,8"
  Quality: "002"
  TimeStampLastRefreshed: "1431518076.5514"
  TimeStampLastChanged: "1431518076.5514"

 iseg_getItem("IF0", "0.1000.Status");
  Object: "0.1000.Status"
  Value: "327680"
  Quality: "002"
  TimeStampLastRefreshed: "1431521205.1390"
  TimeStampLastChanged: &1431518076.6171