1.3.2. Send data from Excel
To send data from Excel to the Cascade DataHub, you need to
name a cell in a spreadsheet, and configure the Cascade DataHub to
recognize that name.
Name a Cell
- Open an Excel spreadsheet.
Click in cell B2 and type in the
name my_test_point.
The name box for the cell is just above the first
column of the worksheet.
- Save the spreadsheet, and leave it open.
Configure the Cascade DataHub
- Start the Cascade DataHub if it isn't already
started, and open the Properties
Window (by right-clicking on the DataHub icon
in the Windows system
tray and selecting ). Click the
DDE button.

(DDE is the data
exchange protocol for Excel.)
- Check the Act as DDE client...
box.
Click the Add button. This
opens the DDE Item Definition
window where you can add Excel as a new DDE
service.
Type in the following information:
- Connection Name: choose any name, to identify this connection.
- Service: type in Excel.
- Topic: type the name of your worksheet file. The
default Excel file name is
Book1, with no extension. If
you have named the file, be sure to include the
.xls extension, like this:
my_filename.xls.
- Item Names: type the same name you entered as the cell name
in Excel (in step 2 above).
- Click the Add button. The
fields DDE Item, Point
Name and Domain should
automatically fill in.
- Double-click the Domain entry
and change it to default. (The
DataHub chooses the most reasonable name, but you have
to check and change it if necessary.)
- Click OK to close
the DDE Item Definition window.
The fields DDE Connection Name
and Status in the Properties
Window should now be filled in as well.
- Click OK to close
the Properties Window.
Send and View the Data
- Open the Data Browser by right clicking
the the DataHub icon
in the
system tray and selecting - With the default domain
chosen, scroll down to see the name of the
point.
- In Excel, type a number into the cell you named
in step 2, and press Enter. You
should see the data update in the Data Browser.
Now you are
ready to connect over a network or
the Internet.