ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

loop address bits multiplexer

Solved!
Go to solution

Hi!

 

I have 16 multiplexers (ADG 406) with a 5 bit adress for the gates. However the first bit is the enable bit, and I have it always

"on", so my question is for the remaining 4 bit in the adress.

 

Q: Is it possible to create a cycle or loop so that the 4 bit adress changes for each multiplexer?

 

Example: Multiplexer 1 has the adress 0000 for gate 1 in the first loop, then in the secind loop I want

it to have the adresse 0001, for instance!

 

Is this feasible?

 

Any help or link to similar questions would be very apreciated.

 

Cheers. 

0 Kudos
Message 1 of 3
(3,114 Views)
Solution
Accepted by Rsilva

Hi rsilva,

 

use something like this:

count bits.png

Set the indicator to binary display and you will see the individual bits...

Edited:

You could replace the ADD by an OR to get the same result in a more (boolean) logical way Smiley Wink

 

Message Edited by GerdW on 10-21-2009 03:37 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,103 Views)

Thanks GerdW!

 

I believe it is what I need!

 

Cheers! 

0 Kudos
Message 3 of 3
(3,066 Views)