Loading…
Loading…
方法名称: enter_background_method
方法ID: 0x40D6
方法标签: Set Background
方法描述: The Background count rate must be measured only when the probe is a plastic detctor. The background is the natural radiation only. The background rate has to be measured before the source is installed.
- {
- char status[3];
- int i_choice_2;
- int i_result;
- long ids[3];
- int i_local_counter;
- SET_NUMBER_OF_RETRIES(7);
- _set_no_device(2);
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- send(173,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(173,status[0]);
- }
- else
- if (status[0] == 112)
- {
- }
- else
- {
- display_response_status(173,status[0]);
- process_abort();
- }
- }
- ;
- ids[0] = 16474;
- ids[1] = 16439;
- ids[2] = 16514;
- i_choice_2 = SELECT_FROM_LIST(literal_string(582),literal_string(575));
- if (i_choice_2 == 0)
- {
- _get_dev_var_value(literal_string(583),0,16474);
- }
- else
- {
- send(183,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(183,status[0]);
- }
- else
- if (status[0] == 112)
- {
- }
- else
- {
- display_response_status(183,status[0]);
- process_abort();
- }
- }
- ;
- _iassign(16514,0);
- _get_dev_var_value(literal_string(577),0,16514);
- _vassign(16509,16510);
- send(182,status);
- if (status[0] != 0)
- {
请登录以获得完整内容