Chapter 2 Invoking DocumentIt
© National Instruments Corporation 2-9 DocumentIt User Guide
block name: Block
block ID: 46
block type: Logical Operator -- AND-OR-NOT
block inputs: 2
block outputs: 1
<display other desired block attributes here>
Pseudocode for the process of generating text for a SuperBlock is shown in Example2-3.
Example 2-3 Pseudocode for Generating a Textual Printout of a Model
<get list of SuperBlock hierarchy>
<loop over all SuperBlocks selected>
<extract, format and print SuperBlock comments, ...>
<get list of all blocks>
<loop over all blocks>
<extract, format and print block comments, ...>
<locate BlockScript blocks, print the code>
<end loop>
<end loop>