The Cascade DataHub relays data between programs using DDE, OPC, or TCP. It also mirrors data to Cascade Connect or other DataHubs over TCP. This section gives an overview of these protocols.
DDE (Dynamic Data Exchange) is a well-established mechanism for exchanging data among processes in MS-Windows. There are three DDE commands for establishing communication with Windows programs such as Excel. Which of these commands you use depends on how you plan to control the flow of data between the spreadsheet and the Cascade DataHub.
For more information on DDE, please refer to Appendix F, DDE Overview.
OPC (OLE for Process Control) is an interface specification for data communications that is popular in industrial environments. It is faster than DDE, and has more features, but its complex programming requirements and specialized use mean that it is not usually supported by non-industrial software.
OPC connections are always client-server. Setting up the Cascade DataHub to use OPC is simply a matter of configuring it to act as a client or as a server. If acting as a client, it will automatically attempt to find or start the OPC server that has been configured, and then start receiving data. If acting as a server, it will automatically respond to requests from any OPC client on the system.
The Cascade DataHub uses TCP to communicate over a LAN, WAN, or the Internet. You can join two or more Cascade DataHubs together over TCP and share exact copies of the data through data mirroring. Mirroring means that the data and any updates to that data on one DataHub are exactly mirrored across the network onto any other DataHub that is connected. Once a mirroring connection is established each participant maintains and updates an identical data set, as simultaneously as the TCP connection will permit. For more information on mirroring, please refer to Section 8.4, “Mirroring”.
The DataHub APIs for C++, Java, and .NET lets any TCP-enabled program interface with the DataHub.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.