Loading…

Method Name: Refresh_History_table

Method ID: 0x4001

Method Label: Refresh Event History

Method Help: Displays a history of most recent diagnostic events. For each event, the time when the event occurred and the duration of the event are shown. The table of history events displays the most recent event at the top with successively preceding events in descending order. Use Set Clock (in transmitter) if actual Dates and Times are not shown. Last column displays s = seconds and h = hours.


  • {
  • char status[3];
  • int i;
  • int number_of_events;
  • int event_number;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • number_of_events = 0;
  • send_command(219);
  • send_command_trans(220,0);
  • send_command_trans(220,1);
  • send_command_trans(220,2);
  • send_command_trans(220,3);
  • send_command_trans(220,4);
  • for (i = 0; i < 20; i++)
  • {
  • if (EventType[i] != 39)
  • {
  • number_of_events++;
  • }


Please login for more