Loading…

Method Name: get_pst_pressure_diff_data_method

Method ID: 0x43B6

Method Label:

Method Help:


  • {
  • char status[3];
  • int i;
  • int last_index;
  • int curr_index;
  • int data_index;
  • int chck_index;
  • int read_inc;
  • int prs_unit;
  • float start_pos;
  • float stroke_size;
  • float target_pos;
  • float fdata_pt;
  • float y_axis_max;
  • float y_axis_min;
  • float pst_overshoot;
  • float max_overshoot;
  • long pst_test_type;
  • float axis_corr;
  • int idata_pt;
  • long ids[4];
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • data_index = 0;
  • _iassign(18060,131);
  • _iassign(18059,data_index);
  • send(156,status);
  • last_index = _ivar_value(18061);
  • prs_unit = _ivar_value(16443);
  • if (last_index == 0)
  • {
  • fdata_pt = 0.0;
  • for (i = 0; i < 100; i++)
  • {
  • lcl_wf_pos_data_array[i] = fdata_pt;


Please login for more