Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 171

Script language
Table of Contents

Advertisement

APPENDIX D – Obsolete Features
The file 'SHEET2.XLS' within path 'C:\EXCEL\WORK' is opened in Microsoft Excel, as specified
by the Integer point 'channelname'. The file 'SHEET1.XLS' is already open in Microsoft Excel
DDEInitiate
Syntax
channel = DDEInitiate("server", topic")
Remarks
Argument
channel
server
topic
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.
DDEOpenLinks
Syntax
returnstate = DDEOpenLinks(channel)
Page 158
Type
Integer
This is an integer point which contains the return value of the
point
DDEInitiate() command.
String
This contains the application that supports DDE as a DDE
server. Typically, this is the name of the applications' *.EXE
executable file without the filename extension. At runtime, the
server application must be open or a value cannot be returned
and an error is reported.
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.
Description
Revision 2.0
OMRON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents