Loading…
Loading…
方法名称: transmitter_loop_test
方法ID: 0x1023
方法标签: 回路测试
方法描述: 回路测试——允许用户将选择的模拟量输出手动调节至选择的常数输出值。
- {
- char status[3];
- int choice;
- long var_id[1];
- int use_abort_method;
- char disp_string1[60];
- char disp_string2[60];
- int slen1;
- int slen2;
- int count;
- slen1=60;
- slen2=60;
- _get_dictionary_string(19726337,(disp_string1),(slen1));
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- use_abort_method = 0;
- do {
- _get_dictionary_string(19726340,(disp_string1),(slen1));
- choice = SELECT_FROM_LIST(disp_string1,"|en|4 mA;20 mA;Other;4->8->12->16->20 mA;End");
- if(choice == 3)
- {
- for(count = 0;count <5; count++)
请登录以获得完整内容