Handling device communication and GUI updates seperately in C#
<p>I'm developing an application that scans images from connected scanners on well defined time intervals, say every 5 minutes, for a specified amount of time. While my app is running I have a label (timerlabel) counting down the total time of the project left, and this is handled by a DispatcherTimer which updates the label every second.</p>

<p>The scanners are handled by another DispatcherTimer which every five minutes will call a function Scan() for each scanner. When this function is called the scanning starts, but the GUI stops updating, and the timerlabel freezes for the duration of the scan. When it starts again it just keeps counting down, not having registered the time that elapsed when the scanning was in progress.</p>

<p>How can I make the timerlabel keep running while the scanning is in progress?</p>
