Programmers Manual

Table of Contents


1. Introduction
1.1. When to use the different Cogent APIs
1.2. Function Naming Conventions
1.3. System Requirements
1.4. Download and Installation
1.4.1. QNX 4
1.4.2. QNX 6
1.4.3. Linux
1.4.4. Installed file locations
1.4.5. Installing licenses
1.5. Cogent Product Integration
1.6. Where can I get help?

2. Point Structure, Storage, and Manipulation
2.1. Creating Points
2.2. Maintaining a Point Hash Table
2.3. Accessing and Copying Point Values
2.4. Memory Allocation and String Values

3. Interprocess Communication
3.1. Connections and Channels
3.2. Task Structure Caching
3.3. Messages
3.4. Cascade NameServer Functions
3.5. Photon Functions
3.6. Pulses and Timers
3.7. Cascade QueueServer Functions
3.8. Receiving Messages and Events
3.9. Replying to Messages
3.10. Sending Messages
3.11. Task Structures
3.12. Working with TCP/IP

4. The Cascade NameServer
4.1. Domains
4.2. Locating Other Tasks on the Network
4.3. Task Started and Stopped Messages

5. Communicating with the Cascade DataHub
5.1. Exceptions
5.2. Echoes
5.3. Non-Existent Cascade DataHub Points
5.4. Parsing Point Messages
5.5. Optimizing Throughput
5.6. Point Size Limit
5.7. Cascade DataHub API Code Examples
5.7.1. Reading from the Cascade DataHub
5.7.2. Writing data to the Cascade DataHub
5.7.3. Registering for exceptions from the Cascade DataHub
5.7.4. A sample makefile definition

6. The Cascade Historian
6.1. Command/Function Correspondence
6.2. Binary Data Buffer Functions

7. Cogent Driver Specifications
7.1. Cogent Driver Functions
7.2. Hilscher Fieldbus CIF Card
7.2.1. I/O Block Functions
7.2.2. Control Block Functions
7.2.3. Status Block Functions

A. GNU General Public License
B. GNU Lesser General Public License