18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Communication with Other Devices<br />

Configuring a DDE Client connection to a DDE Server<br />

The DDE Client task/worksheet is used to configure a DDE Client connection to a DDE Server application<br />

such as Microsoft Excel (or any other Windows program supporting this interface).<br />

Dynamic Data Exchange (DDE) is a protocol for dynamic data exchange between Windows applications, such<br />

as Excel. A DDE conversation is an interaction between server and client programs. IWS provides interfaces<br />

that run as clients or as servers. See DDE Client Runtime and DDE Server in the Runtime Tasks (Tasks on the<br />

Home tab of the ribbon).<br />

• To run as a server, start the DDE or NetDDE server task as described in Runtime Tasks.<br />

• To run as a client, configure the DDE interface worksheet on the Comm tab.<br />

Network Dynamic Data Exchange (NetDDE) is an extension of DDE that works across computers on a<br />

network.<br />

• To run IWS as a server to a NetDDE connection, you must start the DDE Server application.<br />

• To run IWS as a client to a NetDDE connection, use the same DDE interface worksheets with the proper<br />

configuration to address a IWS project.<br />

Note: When running NetDDE, IWS accepts the WRITE triggers only. To read data, you must<br />

configure a write command on the server computer.<br />

To open a new DDE worksheet, right-click on the DDE folder and click the prompt screen.<br />

A new DDE worksheet displays, as in the following figure.<br />

The DDE worksheet dialog is divided into two areas:<br />

DDE Worksheet<br />

• Header area (top section), contains information for the whole group and defines the tags to start the<br />

reading and writing and to receive connection status<br />

• Body area (bottom section), where you define tags in the project and items related to the DDE server<br />

application<br />

Every DDE interface is based on addressing an application using the following three structures:<br />

• Application Name<br />

• Topic<br />

• Item<br />

The first task is to find these identifiers in the DDE Server application.<br />

Use the parameters in the DDE client worksheet Header area as follows:<br />

• Description field: Type a description of the DDE worksheet for documentation purposes.<br />

• Application Name field: Type the DDE server application name.<br />

• Topic field: Specify a topic in the server application.<br />

<strong>InduSoft</strong> Web Studio Page 357

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!