Loading…

Method Name: self_test

Method ID: 0x41C4

Method Label: Self test

Method Help: Self Test- Commands the ZR402 electronics to perform a selftest. Reports any errors that occured.


  • {
  • char status[3];
  • char xmtr_status[25];
  • int number_of_tries;
  • long var_id[1];
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • send_command(41);
  • DELAY(2,literal_string(678));
  • number_of_tries = 0;
  • do {
  • get_more_status(status,xmtr_status);
  • }
  • while (status[0] == 32 && number_of_tries++ < 3);
  • if (status[0] == 32)
  • {


Please login for more