4.2. Data and Control Flow

The data and control flow in the simple demo are pretty elementary. As in the regular demo, data is sent between programs in both directions via the Cascade DataHub. The data flow in Windows is the same as in the regular demo.

For control, the gtksimple.g or phsimple.g program start up all the other programs (the Cascade QueueServer, the Cascade NameServer, the Cascade DataHub, the DataHub Viewer, and the PID Emulator). Once those programs are started, there is no more control flow until the Monitor window is closed. This shuts down the PID Emulator and the DataHub Viewer. The Cascade DataHub and Cascade QueueServer and Cascade NameServer are left running. The control flow in Windows is the same as in the regular demo.