Jump to content

Block Diagram: Difference between revisions

From LabVIEW Wiki
Added {{stub}}. This article needs more detail.
Adding detail
Line 1: Line 1:
{{stub}}
{{underconstruction}}
The '''Block Diagram''' is the part of a [[VI]] that contains the source code.  It normally contains [[GObject class|GObjects]] which include:
The '''Block Diagram''' is the part of a [[VI]] that contains the graphical source code known as [[G]].  [[Front Panel]] [[Control|controls]] and [[Indicator|indicators]] appear on the Block Diagram as [[Control Terminal|control terminals]]. The control terminals for the Front Panel controls are the input where the Front Panel indicators are the output.  [[Wires|Wires]] connect the terminals to other [[Node|Nodes]] and each other to flow the data between the similar to a flow chart (see [[Dataflow]]). Operational order is dictated by [[Dataflow]].  Parts that are not connected are automatically parallelized by the [[Compiler|compiler]] to take advantage of [[Wikipedia:Parallel computing|parallel processing]] that is available in modern multi-core computers.
*Nodes ([[Add Primitive]], [[Property node|property nodes]], etc).
 
*Structures ([[For Loop]], [[While Loop]], [[Case Structure]], etc).
== Parts of a Block Diagram ==
*[[Wires]]
* Top Level Diagram
*[[Terminals]]
* Control Terminals
* Nodes
** Structures
*** Sub-Diagrams
** Functions
* Constants
* Wires
* Decorations
** Free Labels
** Bookmarks
 
== Best Practices ==
 
=== Code Organization ===
 
=== Code Size ===
 
=== Documentation ===
 
=== Design Patterns ===
 
== See Also ==
* [[Front Panel]]


[[Category:LabVIEW fundamentals]]
[[Category:LabVIEW fundamentals]]
[[Category:VI]]
[[Category:VI]]

Revision as of 19:57, 11 May 2020

The Block Diagram is the part of a VI that contains the graphical source code known as G. Front Panel controls and indicators appear on the Block Diagram as control terminals. The control terminals for the Front Panel controls are the input where the Front Panel indicators are the output. Wires connect the terminals to other Nodes and each other to flow the data between the similar to a flow chart (see Dataflow). Operational order is dictated by Dataflow. Parts that are not connected are automatically parallelized by the compiler to take advantage of parallel processing that is available in modern multi-core computers.

Parts of a Block Diagram

  • Top Level Diagram
  • Control Terminals
  • Nodes
    • Structures
      • Sub-Diagrams
    • Functions
  • Constants
  • Wires
  • Decorations
    • Free Labels
    • Bookmarks

Best Practices

Code Organization

Code Size

Documentation

Design Patterns

See Also