Loading…

方法名称: self_test

方法ID: 0x400A

方法标签: 自测试

方法描述: Performs self test on the AS800. Will 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);


请登录以获得完整内容