Chapter 11. PID Emulator and Monitor Functions

Table of Contents
11.1. The PID Emulator
11.2. The Monitor in GTK
11.3. The Monitor in Photon

This chapter contains references to the documentation for each function in the PID Emulator and Monitor. These functions are explained in detail in Tutorial One. For the most part, the Tutorial One functions are identical to their counterparts in Tutorial Two, which are located in these three files: emul.g, gtkmonitor.g, and phmonitor.g. The functions in the Photon version of the Monitor are slightly different in Tutorial Two, because they have been abstracted to work with different operating systems for the Cogent Tools Demo. Those differences are noted in the Tutorial One documentation.

11.1. The PID Emulator

All the functions for the PID Emulator are explained in Tutorial One, Chapter 5, The PID Emulator (emul.g), in these sections:

Section 5.1, The PID Controller Class - PID_Controller
Section 5.2, The Plant Model - change_procvar
Section 5.3, Automatically Change SP Value - auto_control
Section 5.4, Emulating the PID Loop - change_values

The complete file for the PID Emulator can be found in Section 3.5, emul.g - The PID Emulator program.

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