System Points; Dde; Dde Client Points; F.3.2 System Points - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

DDE

F.3.2 System Points

F.4 DDE

F.4.1 DDE Client Points

1, 2, 3...
The following System Points are obsolete and are no longer updated. Scripts
and expressions will currently still compile, but their value at Runtime will
always be 0.
$GDIResources
Integer
$SystemResources Integer
$UserResources
Integer
CX-Supervisor supports Dynamic Data Exchange (DDE), which is a method of
communication between Windows programs. DDE uses messages to
exchange data between applications and a protocol to synchronise the
passing of data. DDE applications fall into four categories client, server, client/
server and monitor. A client application requests data or services from a server
application. A server application responds to a client applications requests for
data or services. Monitor applications can intercept DDE messages but cannot
act on them, they are therefore useful for debugging purposes. CX-Supervisor
is a client/server application, which is both a client application and a server
application, thus requesting and providing information.
All CX-Supervisor DDE data transfers are carried out on points and are
asynchronous transfers. There are two types of DDE points that can be
created, namely 'DDE Client Points' and 'DDE Server Points'.
With 'DDE Client Points' all data transfers or conversations are initiated by CX-
Supervisor either sending data to or requesting data from external DDE Server
Application(s). For example, a CX-Supervisor point could be linked to update a
cell on a Microsoft Excel worksheet.
With 'DDE Server Points' all data transfers are initiated by external DDE Client
Application(s) either requesting or sending point values. For example, a value
could be entered into a cell in Microsoft Excel which would update a CX-
Supervisor point.
A DDE client point sends data to or requests data from an external server
application. This chapter explains how to create points that make use of the
CX-Supervisor DDE Client capabilities. In order for data to be transferred
between a point and a server application the point must uniquely identify the
application and the data that is to be used in the transfer. DDE applications
use a three-tiered identification system to distinguish themselves from other
DDE applications. An application name is at the top of the hierarchy, the
application name refers to a server application e.g. "EXCEL". A topic name
further defines a server application e.g. for Microsoft Excel the topic would
define the worksheet to be used e.g. "SHEET1.XLS", a server can support one
or more topics. Finally each topic can have one or more item names, which
uniquely identifies a data item within a topic, i.e. "R1C1" or a cell name
reference identifies a single cell within a Microsoft Excel worksheet.
Example
A DDE Client point named "DDE1" that connects to Microsoft Excel,
worksheet - "Sheet1.xls" and cell "R1C1", is created.
1. Select the Add Point button from the Point Editor toolbar. The Add Point
dialog box opens.
Appendix F Obsolete Features
0-100
Percentage of GDI resources free.
0-100
Percentage of system resources free.
0-100
Percentage of user resources free.
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents