beautypg.com

Measurement Computing CB-NAP-7000D User Manual

Page 43

background image

NAP7000D User Manual (Version 1.0) ---- 43

3.2 Tutorial 2: One CB-7017

module and passing data to

Excel


z Working CB-7000 Module:

one CB-7520 and One CB-7017
z Working Software:

NAP7000D and Excel.
z Function:

To demonstrate how to control the CB-7017 by NAP7000D then passing data to

excel.

z Working Steps:

Step 1: Setting the configuration of the CB-7017, and select all channels. Then click

OK button to accept the channel selection. Please referring Fig 3-1.

Step 2: Enter the exact baud rate and module address according to your CB-

7017. Then click the OK button to accept the configuration setting. Please

referring Fig 3-2.

Step 3: Adjusting the timer interval according to your system performance. Here

we accept the default interval that is 1000 mSec. Then click Run DDE to

activate DDE hot-link. Please referring Fig 4-3.

Step 4: Activating Excel. Now we need establish DDE link between NAP7000D

to Excel. Here, the NAP7000D act as DDE server that publishing the data. And

the Excel act as DDE client that receiving the published data. The DDE client

has the responsibility that creating the DDE link. This require you to provide the

name of Service, Topic and Item of DDE server.

In NAP7000D, the Service is NAP7000D, the executed file name of

NAP7000D.

The Topic is Form5 and Item is TextN(here N means 1 to 32 according to the

data in what conversation to be passed).

Usually, in most Windows application, the client combine these three names in

following form to identify a DDE link.

Service|Topic!Item