Loading…
Loading…
方法名称: mthZeroCalibration
方法ID: 0x459D
方法标签: Calibrate Zero
方法描述: Perform Zero calibration/ display current zero calib. value. (A7, C1.1.1, C7.1.9)
- {
- long ai32VariableIds[4];
- char achCmdStatus[3];
- int iLengthStStandardDct;
- char stStandardDct[60];
- int iCalibrationModeCode;
- float flOffsetZeroCalibrationOld;
- float flTimeResponseDelayedGdc;
- int iTimeResponseDelayedGdc;
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- send_command(185);
- if (!(eAccessLevel >= 1 || eOptionValidityDebug == 1))
- {
- ACKNOWLEDGE(literal_string(2132));
- return;
- }
- _add_abort_method(17820);
- iCalibrationModeCode = SELECT_FROM_LIST(literal_string(2158),literal_string(2159));
- switch (iCalibrationModeCode)
- {
- case 1:
- flOffsetZeroCalibrationOld = _fvar_value(16856);
- _get_dev_var_value(literal_string(2160),0,16856);
- _lassign(17422,20433);
请登录以获得完整内容