Loading…

Method Name: MthCalibrateZero

Method ID: 0x45F0

Method Label: zero calibration

Method Help: zero calibration (C2.5.1)


  • {
  • char achCmdStatus[3];
  • long ai32VariableIds[16];
  • int iOptionChosen;
  • long i32ObjectNumberToRead;
  • long delayedGdcObjectNumber;
  • int iByteCount;
  • char stStandardDct[60];
  • int iLengthStStandardDct;
  • float flResponseTimeZeroCalibration;
  • int iResponseTimeZeroCalibration;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • iOptionChosen = SELECT_FROM_LIST(literal_string(2197),literal_string(2198));
  • _add_abort_method(18486);
  • _lassign(18488,2652);
  • send_trans(152,1,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(152,achCmdStatus[0]);
  • iLengthStStandardDct = 60;
  • _get_dictionary_string(19726342,stStandardDct,iLengthStStandardDct);
  • DELAY(2,stStandardDct);
  • process_abort();
  • }
  • _lassign(18488,2182);


Please login for more