Loading…
Loading…
Method Name: m_one_step_calibration_method
Method ID: 0x4045
Method Label: Start One Point Calibration
Method Help: Start one point calibration
- {
- char status[3];
- int temp;
- float ftmp;
- float ftmp1;
- float ftmp2;
- int ecd;
- int cal_req;
- int warn_status;
- long ids[1];
- char status_string[70];
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- warn_status = SELECT_FROM_LIST(literal_string(1158),literal_string(1159));
- if (warn_status == 1)
- {
- process_abort();
- }
- send(217,status);
- send_command_trans(33,0);
- ftmp = _fvar_value(resolve_record_ref(resolve_array_ref(269,1),191));
- ftmp1 = _fvar_value(resolve_record_ref(resolve_array_ref(269,10),191));
- ftmp2 = _fvar_value(19491);
- acknowledge(literal_string(1160),ids);
- _iassign(19519,14);
- _fassign(19493,90.0);
- _get_dev_var_value(literal_string(1161),0,19493);
- send(218,status);
- if (status[0])
- {
- if (status[0] == 2)
- ACKNOWLEDGE(literal_string(1107));
- if (status[0] == 5)
- ACKNOWLEDGE(literal_string(1101));
- if (status[0] == 7)
Please login for more