Lesson 04 of 04 · about 5 min

Keep the UI free

  1. 1
  2. 2
  3. 3
  4. 4

A single loop that handles a button and then runs a long acquisition freezes the front panel for the whole acquisition. A producer/consumer pair splits the work: the producer handles the event and enqueues a message, and the consumer runs the acquisition.

The spec is a responsive UI plus a long acquisition. Pick the architecture.

On the Knowledge page

Resources