Chapter 2. Running the Cogent Tools Demo

Table of Contents
2.1. Starting Up
2.2. Monitoring the PID Loop
2.3. Viewing and Changing Data Points
2.4. Making Logs and Plots
2.5. Creating and Querying Historical Records
2.6. Sending Commands
2.7. Using the Cogent PID Demo for Windows (available soon)

2.1. Starting Up

The Cogent Tools Demo is run from the Controller. You can start the Controller by going to a shell and typing the following:

    [sh]$ cogentdemo

Alternatively, you can change to the directory where the excutable files are located, and run the demo.g program directly, as follows:

    [sh]$ cd /usr/cogent/src/tutorial/
    [sh]$ gamma demo
Note

In QNX 6 you can start also start the Demo using the Launch button. Choose the Development option, and then Cogent Tools.

The Controller should appear on your screen. (In QNX it will appear in Console #1.)

The Controller starts all the Cogent tools needed for the demo, and displays buttons you can press to start the demo programs. It also displays information messages and process status. You can press the buttons in any order, because the demo is modular, with each program running independently. For example, click on the PID Emulator button to start that program. You won't see anything happen because the Emulator runs behind the scenes, but if you click on the Monitor button, the Monitor will start, giving you a graphical representation of what's happening in the PID Emulator. The Monitor is explained in the next section.

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.