EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #146 background imageLoading...
Page #146 background image
DDE Commands Appendix D Obsolete Features
145
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
The Integer point 'channelname' is provided with a DDE link to the application
Microsoft Excel which is run by the executable filename 'EXCEL.EXE', and to
the file 'SHEET1.XLS' within that application.
D.3.3 DDEOpenLinks
Syntax
returnstate = DDEOpenLinks(channel)
Remarks
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
DDEOpenLinks(channelname)
The DDEOpenLinks command enables points which have been configured to
communicate via DDE to begin data transfer. Data transfer between CX-
Supervisor and the application Microsoft Excel is automatically maintained
until the channel is closed either by Microsoft Excel or by the command
DDETerminate() using the Integer point 'channelname', or the command
DDETerminateAll().
D.3.4 DDEPoke
Syntax
returnstate = DDEPoke(channel, "item", pointname)
Remarks
topic String This contains the name of the topic recognised
by the server application. Typically, a topic is a
document within an application. At runtime, the
topic must be open or a value cannot be
returned and an error is reported.
The topic may be left empty, which enables
documents to open remotely prior to making a
specified connection. The topic name 'System'
may be used to find out which other topics
within the server application are available.
However, this is dependant on the server
application supporting this topic.
Argument Type Description
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
channel Integer
point
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.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals