Measurement Computing DASYLab User Manual User Manual
Page 28

DASYLab
© National Instruments Ireland Resources Limited
|
2-7
To insert a black box in the worksheet, select Special»Empty
Black Box on the Modules tab of the browser and drag and drop
the module into the worksheet. Double-click the black box to
open the workspace of the sub-worksheet. The empty sub-worksheet takes up
the entire workspace of the worksheet screen. You work in a black box in the
same way as you work in the main worksheet: you drag and drop modules
from the browser and connect and configure the modules.
You establish a connection to the main worksheet or to the higher-ranking
black box with import and export modules. You must open a black box before
you can select the Export/Import module from the Special modules group
on the Modules tab in the browser. If you drag and drop an export/import
module into the black box, DASYLab opens a selection dialog box. Select
Import Data to create inputs to the black box. Select Export Data to create
outputs from the black box.
You can use only one import module and one export module with a maximum
of 16 channels each in every black box. The number of outputs does not
depend on the number of inputs. The block length and the data rate of the
inputs and outputs are also independent. If you need more than 16 inputs and
outputs in a black box, add the Multiplexer/Demultiplexer module. Use the
multiplexer to combine data from different data channels into one data
channel and the demultiplexer to distribute data from one data channel onto
several data channels.
To close a black box, click Close Black Box on the function bar. You
return to either the main worksheet or the higher-ranking black box.
Black boxes divide complex worksheets into functional sub-worksheets,
which you can export and import as partial solutions into other worksheets.
Before you can export a black box, you must open the black box and open the
properties dialog box via Edit»Black Box»Black Box Properties. Enter a
name and a unique three-figure code in the ID tag box to identify the module
on the module bar.
To save the open black box, open the Black Box tab of the browser. The
Black Box tab displays all the black boxes stored in the default folder, in a
tree view. Right-click this tree structure and select Save Open Black Box
from the context menu. Enter a filename such as
MyBlackbox
. DASYLab
saves all black boxes with the filename extension
.dbb
in the default folder
for black boxes under (Windows 8 / Windows 7 / Windows Vista —
C:\User\Public\Documents\DASYLab\