Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Adding and Duplicating Subdiagrams

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Right-click a Case, Stacked Sequence, Flat Sequence, Conditional Disable, or Diagram Disable structure border and select Add Case (or Frame or Subdiagram) After or Before from the shortcut menu to add a subdiagram. You also can press the <Shift-Enter> keys in the selector label to add a subdiagram to a structure.

Complete the following steps to make a copy of the visible subdiagram in a Case, Stacked Sequence, Conditional Disable, or Diagram Disable structure and insert it after the original subdiagram.

  1. Move to the subdiagram you want to duplicate.
  2. Right-click the structure border and select Duplicate Case (or Frame or Subdiagram) from the shortcut menu. The duplicate subdiagram contains all objects from the original subdiagram except front panel terminals.
  3. If you are configuring a Conditional Disable structure, select a Symbol and enter a Value in the Configure Condition dialog box.

When you add, delete, or rearrange frames in a Stacked Sequence structure, LabVIEW automatically adjusts the numbers in the frame labels. When you add or delete frames in a Flat Sequence structure, the structure resizes automatically. You can rearrange the subdiagrams in a Case or Diagram Disable structure and the order of the cases or subdiagrams does not affect how the VI runs. When you rearrange the subdiagrams in a Conditional Disable structure, multiple subdiagrams can be TRUE, but LabVIEW compiles and executes only the first subdiagram that is TRUE.

You also can add or duplicate cases for event structures.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit