Loading…

Method Name: ClearDataLogsMethod

Method ID: 0x4210

Method Label: Clear Data Logs

Method Help: This method is used to clear a data 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 = 22;
  • wChoice = SELECT_FROM_LIST("|en|Which data log do you want to clear?","|en|None;Sensor1;Sensor2;Network Module;sc200" );
  • if( wChoice == 0 )
  • {
  • DELAY( 2,"|en|No data logs cleared, aborting." );
  • process_abort();
  • }
  • eClearDataLogs = wChoice;
  • send( 203, acStatus );
  • if( acStatus[0] != 0 )


Please login for more