Adding Objects inside Structures
- Updated2026-08-05
- 3 minute(s) read
Add an object inside a structure in LabVIEW by dragging it inside the structure or by dragging a new structure around the object. You cannot put an object inside a structure by moving an existing structure over the object.
To practice adding objects inside a structure, you can complete the following steps.
-
Add the Case Structure
to the block diagram.
Case structures and other structures are located on the palette.

-
Add the Tick Count (ms)
function inside the structure.
Find Tick Count (ms) on the palette.
A border appears within the structure before you place an item to indicate that you are placing the item within the structure.

-
Move the Tick Count (ms) function close to the border of the
structure.
Notice that when you add or move an object in a structure near the structure border, the structure resizes to add space for that object after you add the object to the block diagram.
TipYou can disable the automatic resizing behavior for a structure. Right-click the structure border and select Auto Grow to remove the checkmark.

-
Move the Tick Count (ms) function outside the structure by selecting
and dragging the function a longer distance.

- Add another structure around the Tick Count (ms) function.
-
Select the second structure and delete it. Notice that you also deleted the function
inside the structure.
Note You can remove a structure without deleting the objects in the structure.
- Add another Tick Count (ms) function outside the remaining structure.
-
Move the structure over the Tick Count (ms) function.
The shadow on the function indicates that the function is on top of the structure but is not inside it.

-
Select the Case structure and delete it.
Notice that you did not delete the function because it was not inside the structure.
You can apply these same principles to other structures in LabVIEW.