DDE Appendix F Obsolete Features
313
4. Ensure the DDE Access Read/Write setting is set to 'ON.
5. Click the OK button to accept the settings in both the Advanced Point
Settings dialog box and the Add Point dialog box.
F.4.3 DDE Array Points
CX-Supervisor supports arrays in DDE, for both 'Client' and 'Server'
transactions. DDE Client data transfers are initiated by CX-Supervisor, either
sending or requesting data from external DDE Applications (such as Microsoft
Excel). DDE Server data transfers are initiated by external DDE Applications
either sending or requesting data to or from CX-Supervisor.
Refer to the CX-Supervisor Script Language Reference Manual for further
details.
F.4.3.1 DDE Client Array Points
This chapter explains how to create DDE Client Array points. This is similar to
the way normal DDE Client points are created, except extra information is
required to specify the range of the array and also whether it is to be stored as
a row or column in the Server application.
1, 2, 3… 1. Select the Add Point button from the Point Editor toolbar. The Add Point
dialog box opens.
2. Enter a meaningful name in the Point Name: field.
3. Set the I/O Attributes setting to DDE and click the Setup button. The DDE
attributes dialog box opens.
4. Enter an application in the Server Name: field.
5. Enter a topic in the Topic Name: field.
6. Enter the item in the Item Name: field. It is also necessary to specify how
the array is to be transferred. For instance, in Microsoft Excel, this is either
as a '[row]' or '[column]', the default is as a row which can be omitted. The
following are valid array item names: "R1C1:R3C1[col]", "first:last[c]",
"R5C2:R5C5", "r1c1:r3c1[column]".
7. Enter the number of elements in the array in the Array Size: field. This
must match with the specified range in the Item Name field
In the CX-Supervisor Runtime environment, the above DDE Client array
transactions are initiated by means of script in the same way as single DDE
Client points. The CX-Supervisor script below gives examples of the facilities
available with DDE Client array points:
Note: The DDE Access group's Read/Write box in the Advanced Point Settings
dialog box is checked, this is the only action required to expose "DDESVR3" to
a DDE Client application for read/write access.
Note: Any CX-Supervisor point can be given DDE Access, even DDE Client points.