To test the OPC DataHub by
putting live data into Excel, follow these steps:
- Right click on the OPC DataHub system-tray icon and choose
.
In the Properties window,
select
DDE .
- Ensure that the box Act as a DDE
server is checked, and that the name
datahub appears in the
DDE Service Name area. If not,
click the Add... button and add
the name datahub.
- Click OK to close the
Properties window.
Right click on the OPC DataHub system-tray icon and
choose from the pop-up
menu to open the Data Browser. Start DataSim if it isn't
already running, to get live data in the Data
Browser.
- Ensure that the Drag & Drop Style
at the bottom of the Data Browser is set to
MS-Office (Excel/Word).
- Open an Excel worksheet.
In the Data Browser, click on the label for a point
and drag it into the Excel worksheet.
You should see the data update in the
worksheet at the same rate it is updating in
the OPC DataHub.
| You can select multiple points for drag and drop
by using Shift-click or
Ctrl-click. |