Loading…

Method Name: nd_temperature_sensor_calib_method

Method ID: 0x405D

Method Label: Temp measurement

Method Help: Temperature ADC zero calibration of the component board module


  • {
  • char status[3];
  • char disp_string[60];
  • long var_id[1];
  • _set_all_resp_code(0);
  • _add_abort_method(16472);
  • do {
  • _get_dev_var_value(literal_string(292),0,resolve_record_ref(resolve_array_ref(4109,3),190));
  • if (_ivar_value(resolve_record_ref(resolve_array_ref(4109,3),190)) == 33)
  • _fassign(16434,0.0023 / 1.8);
  • else
  • _fassign(16434,0.0023);
  • var_id[0] = resolve_record_ref(resolve_array_ref(4109,3),190);
  • _get_dev_var_value(literal_string(260),var_id,16433);
  • ACKNOWLEDGE(literal_string(293));
  • send(221,status);
  • if (status[0] == 3 || status[0] == 4 || status[0] == 10)
  • {


Please login for more