Loading…

Method Name: met_edit_L_min

Method ID: 0x40A2

Method Label: Change L min

Method Help: L min is a Minimal Distance, taken into Account for Distance Measuring


  • {
  • DD_STRING varName;
  • DD_STRING varUnit;
  • unsigned short mbadr;
  • float temp_float;
  • float oldValue;
  • float newValue;
  • float requestedValue;
  • varName = literal_string(213);
  • varUnit = literal_string(561);
  • mbadr = 1603;
  • oldValue = met_mo_get(mbadr) / 100.0;
  • requestedValue = oldValue;
  • _get_local_var_value(literal_string(562),0,literal_string(556));
  • temp_float = requestedValue * 100.0 + 0.5;
  • temp_float = met_mo_set(mbadr,temp_float);
  • newValue = temp_float / 100.0;


Please login for more