Loading…

Method Name: ClearEventLogsMethod

Method ID: 0x41E5

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(1551),literal_string(1552));
  • if (wChoice == 0)
  • {
  • DELAY(2,literal_string(1553));
  • process_abort();
  • }
  • eClearEventLogs = wChoice;
  • send(203,acStatus);
  • if (acStatus[0] != 0)
  • {


Please login for more