Measuring devices for mechanical values