Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

LabVIEW offers a set of time-saving tools to help you edit diagram code more efficiently.

Creating Diagram Code

Task Tips and Tricks

Create constants, controls, and indicators using the shortcut menu.

You can save time when adding constants, controls, and indicators by using the shortcut menu to add the object instead of navigating the palette.

Right-click any input or output of a node and select one of the Create options from the shortcut menu. For example, to create a constant, select Create Constant.

Create a subVI or subCDL from existing code.

You can use the Create from Selection button on the VI or Clock-Driven Logic tab to automatically generate a new subVI or subCDL from a section of existing code.

Refer to Creating a SubVI from a Section of Existing Code for more information.

Editing Diagram Code

Task Tips and Tricks

Replace a diagram object with a similar object without using the palette.

You can replace an object on the diagram, such as a node, terminal, or constant, with a different type of the same object without navigating the palette. For example, you can replace an Add node with a Subtract node, a Numeric Terminal with a Boolean Terminal, or a True Constant with a False Constant.

Right-click the object, select Replace from the shortcut menu, and select the desired replacement object.

Change the data type of a terminal without using the palette.

On the Configure tab, select the desired data type from the Data Type pull-down menu.

Remove a structure without deleting objects in the structure.

You can remove a loop, Case Structure, or Flat Sequence from the diagram without deleting the code it contains.

Right-click the border of the structure and select Remove Name of Structure from the shortcut menu.

Organizing Diagram Code

Task Tips and Tricks

Align or distribute diagram objects to improve the organization of the diagram.

On the VI, Multirate Diagram, and Clock-Driven Logic tabs, use the options in the Arrange group to organize a set of selected objects.

Delete all broken wires at one time.

On the VI, Multirate Diagram, and Clock-Driven Logic tabs, in the Editing group, click Remove Broken Wires to delete all broken wires in the VI.

Clean up wires.

You can automatically route a selected wire to decrease the number of bends in the wire and avoid crossing objects on the diagram.

Right-click a wire and select Clean Up Wire from the shortcut menu.

Move a terminal label to improve diagram readability.

To change the position of a terminal label, right-click the terminal, select Label from the shortcut menu, and select the desired position.

Show a node label to improve diagram readability.

To show a node label, right-click the node and select Show Label from the shortcut menu.

Show the diagram grid to improve diagram organization.

LabVIEW automatically aligns diagram objects to a grid. Making this grid visible can help you keep the diagram organized as you add and arrange objects.

On the View tab, in the Alignment group, enable Show Grid.