Loading…

Method Name: enter_cal_point_method

Method ID: 0x4083

Method Label: Enter Cal.Pt.

Method Help: Enter Calibration Point


  • {
  • char status[3];
  • int i_choice;
  • int i_choice_2;
  • int i_result;
  • long ids[6];
  • int i_local_counter;
  • int i_cal_pt_id;
  • int i_no_cal_pts;
  • i_choice = 0;
  • i_cal_pt_id = 1;
  • 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);
  • ids[0] = 16439;
  • ids[1] = 16398;
  • ids[2] = 16448;
  • ids[3] = 16437;
  • ids[4] = 16438;
  • ids[5] = 16384;
  • 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();
  • }
  • }
  • ;
  • i_no_cal_pts = _ivar_value(16432);
  • _iassign(16437,1);
  • send(175,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(175,status[0]);
  • }
  • else


Please login for more