Loading…

Method Name: ClearEventLogsMethod

Method ID: 0x4207

Method Label: Clear Event Logs

Method Help: This method is used to clear an event log for sensor1, sensor2, the network module or the sc200.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wChoice;
  • int slen1;
  • slen1 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • iOneHighUnsignedIntegerIndexSC200 = 21;
  • wChoice = SELECT_FROM_LIST(literal_string(1611),literal_string(1612));
  • if (wChoice == 0)
  • {
  • DELAY(2,literal_string(1613));
  • process_abort();
  • }
  • eClearEventLogs = wChoice;
  • send(203,acStatus);
  • if (acStatus[0] != 0)
  • {


Please login for more