![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212171.webp)
APPENDIX D – Obsolete Features
OMRON
Page 158
Revision 2.0
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 Type
Description
channel
Integer
point
This is an integer point which contains the return value of the
DDEInitiate() command.
server
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.
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
.
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)
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...