Loading…

Method Name: master_reset

Method ID: 0x400B

Method Label: Master reset

Method Help: Resets the 261 electronic


  • {
  • 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);
  • _set_comm_status(0xFF,0);
  • _set_comm_status(127,0);
  • _set_xmtr_comm_status(0xFF,0);
  • _set_xmtr_comm_status(127,0);
  • _set_no_device(2);
  • _set_xmtr_no_device(2);
  • SET_NUMBER_OF_RETRIES(10);
  • do {
  • send(42,status);
  • }
  • while (status[0] == 32);
  • SET_NUMBER_OF_RETRIES(0);
  • if (status[0] == 7)
  • {
  • display_response_status(42,status[0]);
  • _get_dictionary_string(19726342,disp_string1,slen1);
  • DELAY(4,disp_string1);
  • }
  • else


Please login for more