An electronic module for level measurements, pressure measurements or
density measurements is disclosed. In the module, a safety-relevant
function is transferred into an area that is categorized as
safety-uncritical. In order to prevent malfunctions, a diagnostic
function is performed in the safety-critical area of the electronic
module in order to check the transferred function. This diagnostic
function is also checked with respect to its effectiveness during the
safety-oriented operation. Suitable measures can be initiated in case an
error is detected.