beautypg.com

Measurement Computing CB-NAP-7000D User Manual

Page 26

background image

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

There are three command buttons in Fig 2-17, those are Output Assigned Value,

Output ReadBack Value and Output via DDE link. It is means that the desired output

value(voltage) for CB-7021 can be given with 3 ways as following:

z Output Assigned Value: to assign the output value directly.
z Output ReadBack Value: the read back value of CB-7021 as the desired

output value:

z Output via DDE link: to output value of CB-7021 is controlled by DDE

hot-link as Fig 2-18 shown.

Fig 2-18 Control the CB-7021 output voltage by means of DDE link.

With the DDE hot-link, a user can control the CB-7021 without any programming.

When establishing the DDE hot-link conversation, the user must fill out “Service”,

“Topic” and “Item” fields in the 7021 setting window. Usually, the content in

“Service” field is just the application’s name such as “Excel”, “Genie”. The content in

“Topic” field is the working sheet or document in the application such as “sheet1” for

Excel, “STRTGY1” for Genie. The content in “Item” field is the item’s name that

contain the value to be passed. For examples, “DDES1” for Genie. A cell in Excel

will be referred to by the representation as row number and column number. For

example, when using A1 cell, then the content in “Item” field would be “R1C1”. And

the C2 cell would be “R2C3”.

Fig 2-19 show setting the DDE link to the Excel application. The value in the A1 cell

of sheet1 would be passed to the NAP7000D. The NAP7000D controls the CB-7021

to output the desired voltage.