Search the WinSPC Knowledgebase |
Browse by Category |
|
|
|
How do I setup and use a DDE Server device? |
Thank you for rating this answer.
|
WinSPC has the ability to gather data from a Dynamic Data Exchange (DDE) server device. Setting up a DDE server device involves selecting the DDE server device type and then setting up the device's connection. This knowledge base article assumes the reader is familiar with DDE server concepts. Readers not familiar with such concepts may benefit from reviewing the following Microsoft article prior to attempting the below procedure: http://msdn.microsoft.com/en-us/library/ms648774(v=VS.85).aspx
Selecting the DDE Server device type
- Double-click the Device you want to set up as a DDE Server device from within the Contents pane of the Administrator screen. This causes the Device Setup dialog box to appear with the Connection tab selected. If the device is not yet created, complete the Creating a Device procedure by clicking on the following link: How do I create a Device in WinSPC
- Select DDE Server from the Device Type dropdown box. The Connection tab changes to content appropriate to DDE servers.
Setup the device's connection
- Click the Browse button and select the executable for the application being used as the DDE server for the Executable Name box. (For example, if the DDE server is Excel, select excel.exe.)
- Enter the name of the service in the Service box. (For example, if the DDE Server is Excel, enter Excel).
- Enter the name of the topic in the Topic Name box. (For example, if the DDE server is Excel, the topic name would be the sheet name within the Excel spreadsheet file that contains the reading.)
- Check the Use Hot Links checkbox if you want data to be sent to WinSPC as soon as the data is available.
- Click the OK button.
The DDE server device is now setup and collection plans can be set up to use it.
Helpful Hints when setting up a collection plan step to collect data from the DDE server:
In the Channel Number / Item Name field in the Collection Plan setup, for Excel, enter the row and column number (R1C1).
If the Use Hot Links check box was checked, specify Random as the Collection Method in the Collection Plan setup dialog box.
If Use Hot Links check box was not checked, specify a key combination that operators can use to Prompt the DDE server for data. Do this using the Device Options section on the Collection Plan Options tab of the Collection Plan setup dialog box.
|
Attachments |
No attachments were found.
|
Related Articles |
No related articles were found.
|
Visitor Comments |
No visitor comments posted. Post a comment
|