Example Code

VI Block - DEMULTIPLEXER 4 Inputs_16 Outputs

Code and Documents

Attachment

This VI simulate a 4 Inputs DEMULTIPLEXER.

Changing the states of the 4 Input values​​, you will get a HIGH signal to one of the 16 equivalent Outputs.

B0 as the lowest Input value, follows B1, B2, B3.

Y as the Output.

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

Follows the truth table:

B3 B2 B1 B0      Y     (N°)   

0   0   0   0         H      0         

0   0   0   1         H      1         

0   0   1   0         H      2

0   0   1   1         H      3

0   1   0   0         H      4

0   1   0   1         H      5

0   1   1   0         H      6

0   1   1   1         H      7

1   0   0   0         H      8

1   0   0   1         H      9

1   0   1   0         H      10

1   0   1   1         H      11

1   1   0   0         H      12

1   1   0   1         H      13

1   1   1   0         H      14

1   1   1   1         H      15

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