Loading…

Method Name: self_test

Method ID: 0x4017

Method Label: Self test

Method Help: Performs self test on the 2000T. Reports any errors.


  • {
  • int number_of_tries;
  • int control;
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • int slen1;
  • long ids[2];
  • slen1 = 60;
  • number_of_tries = 0;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • do {
  • send(41,status);
  • }
  • while (status[0] == 32);
  • if (status[0] == 0x10)
  • {
  • display_response_status(41,status[0]);
  • _get_dictionary_string(19726342,disp_string1,slen1);
  • DELAY(4,disp_string1);
  • }
  • else
  • {
  • do {
  • get_more_status(status,xmtr_status);
  • number_of_tries = number_of_tries + 1;
  • }
  • while (status[0] == 32 && number_of_tries < 45);
  • control = 0;
  • if (status[0] == 32)
  • {
  • _add_abort_method(16489);


Please login for more