Fix: Reset measurement counter after sending DigitalPort message.