Table of Contents
The Cogent C API is an easy-to-use set of functions that fall into five main categories:
The Cogent Utilities are used by several Cogent products, primarily to facilitate inter-process communication.
![]() | To use the Cogent C API, you should be familiar with C programming. |
There are four Cogent APIs, grouped as:
This API lets you write high-speed clients that can interact with the Cascade DataHub, Cascade Historian, Cascade TextLogger, CIF Driver, DVN Driver, PFB Driver, and Gamma. It works in Linux, QNX 6, and QNX 4. Interprocess communication relies on Send/Receive/Reply message passing. In Linux, this is supported by Cogent's SRR Module. In QNX, this is supported by QNX's own Send/Receive/Reply protocol.
These three APIs share, as much as possible, common methods and syntax. For this reason they are distributed in one package and documented in a single book.
The following table shows the availability and support for these APIs in Windows, Linux, and QNX:
| Language | Windows | Linux | QNX 6 | QNX 4 |
|---|---|---|---|---|
| C++ | supported | supported | supported | unsupported |
| Java | supported | unsupported | unsupported | not available |
| .NET | supported | may be available using Mono | not available | not available |
![]() | The C++ API that runs in Linux and QNX is included in the Cogent C API archive. |
![]() | For more information on these APIs, please refer to the DataHub APIs for C++, Java, and .NET manual. |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.