Dderequest; D.3.5 - Omron CX-Supervisor Reference Manual

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

Advertisement

DDE Commands
D.3.5 DDERequest
146
Argument
Type
channel
Integer
point
item
string
pointname
point
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
DDEPoke(channelname, "R2C5", data)
The content of point 'data' is sent to row 2, column 5 of 'SHEET1.XLS' in the
Microsoft application. The Microsoft Excel application, and 'SHEET1.XLS' are
specified by Integer point 'channelname'.
Syntax
pointname = DDERequest(channel, "item")
Remarks
Argument
Type
channel
Integer
point
item
string
pointname
point
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
cellref = DDERequest("channelname", "R2C5")
The point 'cellref' is filled from a specific item, row 2, column 5 from
'SHEET1.XLS' from the Microsoft Excel application, specified by the Integer
point 'channelname'.
Appendix D Obsolete Features
Description
This is an integer point which contains the
return value of the DDEInitiate() command.
Both server and topic parameters applied to the
in the DDEInitiate() command must be open or
an error is reported.
This is an item as recognised by the server
application. For instance, a cell is an item
within a spreadsheet application. Likewise, a
page is an item for a word processing
application. It is wholly dependant on the
server application.
This is a point whose attributes must include a
DDE Access of 'Read/Only' or 'Read/Write'.
The contents of this point are assigned to the
server application.
Description
This is an integer point which contains the
return value of the DDEInitiate() command.
Both server and topic parameters applied to the
channel in the DDEInitiate() command must be
open or an error is reported.
This is an item as recognised by the server
application. For instance, a cell is an item
within a spreadsheet application. Likewise, a
page is an item for a word processing
application. It is wholly dependent on the
server application.
This is a point whose attributes must include a
DDE Access of 'Read/Write'.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents