Loading…
Loading…
Method Name: enter_background_method
Method ID: 0x40D6
Method Label: Background setzen
Method Help: Die Background Impulsrate muss nur gemessen werden, wenn der Detektor einen Plastik Szintilator hat. Der Background ist nur die natürliche Strahlung. Die Background Rate muss gemessen werden bevor die rad. Quelle installiert wird.
- {
- 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)
- {
Please login for more