Select an Integer 32 numeric input and an Integer 32 numeric output and label them Selector and Case respectively.
In the Block Diagram window, create a case structure, select the False case and arrange the terminals as shown in Multicase.
Wire the Selector numeric control to the case selector on the case structure. The selector label reflects the diagram update.
In the0, Default case, add a numeric constant and leave its value as 0.
Using the selector label, select case 1. Add a numeric constant, enter 1 and wire it to the case tunnel. The resulting diagram is shown in Case 1.
Right click anywhere in the case structure and selectAdd Case After from the pop-up menu.
Case 2 is added after case 1. Add a numeric constant, enter2 and wire it to the case structure tunnel.
Multicase Selection Program shows the results of running this simple case selection programs for Selector set to 0, 1, 2 and 3 respectively.