Example Code

VI Block - DEMULTIPLEXER 3 Inputs_ 8 Outputs

Code and Documents

Attachment

This VI simulates a 3 Inputs DEMULTIPLEXER.

Changing the states of the 3 Inputs values​​, you will get a HIGH signal to one of the 8 equivalent Outputs.

B0 as the lowest Input value, follows B1, B2.
Enable switch.

Y as the Output.

N° shows which of the outputs assume the high value.

Follows the truth table:

B2 B1 B0      Y      N°

0   0   0         H      0

0   0   1         H      1

0   1   0         H      2

0   1   1         H      3

1   0   0         H      4

1   0   1         H      5

1   1   0         H      6

1   1   1         H      7

Mattia Perazzelli

Student at I.T.I. Guglielmo Marconi

Campobasso - Italy

Electronics and Telecommunications

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors