Loading…

方法名称: enter_cal_points_method

方法ID: 0x40D5

方法标签: Enter Cal.Data

方法描述: Enter Calibration DataSet


  • {
  • char status[3];
  • int i_choice;
  • int i_choice_2;
  • int i_choice_3;
  • int i_result;
  • long ids[12];
  • int i_local_counter;
  • int i_cal_pt_id;
  • int i_no_cal_pts;
  • i_choice = 0;
  • i_choice_3 = 0;
  • i_cal_pt_id = 1;
  • i_no_cal_pts = 0;
  • SET_NUMBER_OF_RETRIES(3);
  • _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] = 16472;
  • ids[1] = 16439;
  • ids[2] = 16514;
  • ids[3] = 16459;
  • ids[4] = 16471;
  • ids[5] = 16458;
  • ids[6] = 16468;
  • ids[7] = 16470;
  • ids[8] = 16716;
  • ids[9] = 16463;
  • ids[10] = 16467;
  • ids[11] = 16475;
  • 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(16462);
  • _vassign(16466,16463);
  • _get_dev_var_value(literal_string(568),0,16466);
  • _vassign(16463,16466);
  • _get_dev_var_value(literal_string(569),0,16475);
  • _get_dev_var_value(literal_string(570),0,16467);
  • send(172,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(172,status[0]);
  • }
  • else
  • if (status[0] == 112)
  • {
  • }


请登录以获得完整内容