Loading…

Method Name: m_get_deadband_offline_test_results

Method ID: 0x4967

Method Label:

Method Help:


  • {
  • char status[3];
  • int i;
  • float fdata_pt;
  • int idata_pt[500];
  • int valid_data_count;
  • int valid_data_total;
  • int i_index;
  • float graph_scale_ratio;
  • float f_index;
  • long ids[4];
  • int itime_res;
  • float ftime_res;
  • float ftest_time_pt;
  • int tst_data_pt;
  • int current_test_code;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • current_test_code = _ivar_value(19525);
  • if (current_test_code != 2)
  • {
  • ACKNOWLEDGE(literal_string(1237));
  • process_abort();
  • }
  • valid_data_count = 0;
  • valid_data_total = 0;
  • for (i = 0; i < 10; i++)
  • {
  • _iassign(19283,16);
  • _iassign(19282,i);
  • _iassign(19284,0);
  • send(203,status);
  • valid_data_count = _ivar_value(19285);
  • valid_data_total = valid_data_total + valid_data_count;
  • idata_pt[i] = _ivar_value(19286);
  • idata_pt[i + 10] = _ivar_value(19287);


Please login for more