
Table of Contents
Publication 85206.6 - August 1999
Chapter 1
Open Control Interface (OCI) Overview
OCI Data Server Overview 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Your DDE Compliant Application Program 1-2. . . . . . . . . . . . . . . . . . .
DDE Overview 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The OCI Data Server 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OCI Data Server Read Data Requests 1-4. . . . . . . . . . . . . . . . . . . .
OCI Data Server Write Data Requests 1-4. . . . . . . . . . . . . . . . . . . .
OCI Data Server Command Requests 1-5. . . . . . . . . . . . . . . . . . . .
OCI Data Server Return and Error Codes 1-5. . . . . . . . . . . . . . . . . .
Status of Commands and POKE Data Items 1-6. . . . . . . . . . . . . .
Errors on Automatic Items 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . .
Errors on Manual Items 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RSLinx OEM 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Your Development Tool (Visual Basic) 1-7. . . . . . . . . . . . . . . . . . . .
Special API Development Tools 1-7. . . . . . . . . . . . . . . . . . . . . . . . . . .
RSLinx JBOX and RSData.OCX 1-7. . . . . . . . . . . . . . . . . . . . . . . .
OCI Basic Display Set Source Code Routines 1-8. . . . . . . . . . . . . . .
Chapter 2
DDE Data Server Examples
DDE Conversation Overview 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DDE Server 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Topic Name 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item Name 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Visual Basic 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Data 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing Data (POKE) 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DDE Commands 2-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Microsoft Excel 2-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 3
OCI Basic Display Set (BDS)
Basic Display Set Overview 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing the Source Code 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing RSData Custom OCX 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . .
Source Code Directory Structure 3-3. . . . . . . . . . . . . . . . . . . . . . . . . .
Data Files 3-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Basic Display Set Source Code Overview 3-5. . . . . . . . . . . . . . . . . . .
Basic Display Set Screen Construction 3-6. . . . . . . . . . . . . . . . . . . . .
Basic Display Set Basic Modules 3-7. . . . . . . . . . . . . . . . . . . . . . . . . .
Using MASTERM.FRM 3-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Template to Create a Display Form 3-8. . . . . . . . . . . . . . . . . . . . . . . .
Making a Copy of MASTER.FRM 3-8. . . . . . . . . . . . . . . . . . . . . . . .
MASTER.FRM Recommended Subroutines 3-10. . . . . . . . . . . . . . . .
Managing Errors on your Form 3-11. . . . . . . . . . . . . . . . . . . . . . . . .
Comentarios a estos manuales