Loading…

Method Name: linearization_S2

Method ID: 0x4081

Method Label: Customer linearization S2

Method Help:


  • {
  • int intSensortype;
  • int result;
  • float loc_var;
  • int coeff_choice;
  • long ids[5];
  • float flAlpha;
  • float flBeta;
  • float flDelta;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • switch (_ivar_value(16393))
  • {
  • case 3:
  • _iassign(16532,0x40);
  • save_values();
  • send_command(145);
  • coeff_choice = SELECT_FROM_LIST(literal_string(499),literal_string(500));
  • ids[0] = 16519;
  • ids[1] = 16520;
  • ids[2] = 16521;
  • ids[3] = 16522;
  • if (coeff_choice == 0)
  • {
  • flAlpha = 0.0038505;


Please login for more