Loading…
Loading…
Method Name: met_edit_base_height
Method ID: 0x407E
Method Label: Change Base Height
Method Help: Base Height is a Distance between a sensor base plane and Tank Bottom
- {
- unsigned short temp_short;
- unsigned short temp_short_2;
- unsigned short temp_short_3;
- float oldValue;
- float newValue;
- float tempFloat;
- temp_short = met_mo_get(12);
- oldValue = met_m_from_internal_format(temp_short);
- tempFloat = oldValue;
- _get_local_var_value(literal_string(558),0,literal_string(559));
- base_height = tempFloat;
- temp_short_2 = met_m_to_internal_format(tempFloat);
- temp_short_3 = met_mo_set(12,temp_short_2);
- newValue = met_m_from_internal_format(temp_short_3);
Please login for more