Loading…
Loading…
方法名称: self_test
方法ID: 0x426A
方法标签: 自测试
方法描述: Instructs transmitter to perform internal self test.
- {
- char status[3];
- char xmtr_status[25];
- long var_id[1];
- int num_retries;
- int stat;
- char disp_string[100];
- int slen;
- slen = 100;
- num_retries = 1;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- do {
- stat = get_more_status(status,xmtr_status);
- if (status[0])
- {
- display_response_status(48,status[0]);
- }
- }
- while (stat != 0 && num_retries++ <= 3);
- if (xmtr_status[0] || xmtr_status[1] || xmtr_status[2] || xmtr_status[3] || xmtr_status[4] || xmtr_status[5] || xmtr_status[15])
- {
请登录以获得完整内容