Hi to all,
I'm new at this forum and I need support with an idea for a data bus.
I'm using a PC and a NI digital card to control 15 boards with a led and a switch, I need to identify in wich board the user has pressed the switch, so instead of using a 15 input lines to the digital card (one per switch) I'm trying to use a "data bus" so on each card I have an address (0000, 0001, 0010,...and so on) and presing a switch will pass the board address information to the bus and to the digital card (please see attachment)
The idea is to connect all the "Data bus" lines for each card, to 4 digital inputs on the NI card.
I's there any inconvenient to do this? It's valid to connect all the and outputs together to build this bus?
I'll really appreciate your help.
I'm new at this forum and I need support with an idea for a data bus.
I'm using a PC and a NI digital card to control 15 boards with a led and a switch, I need to identify in wich board the user has pressed the switch, so instead of using a 15 input lines to the digital card (one per switch) I'm trying to use a "data bus" so on each card I have an address (0000, 0001, 0010,...and so on) and presing a switch will pass the board address information to the bus and to the digital card (please see attachment)
The idea is to connect all the "Data bus" lines for each card, to 4 digital inputs on the NI card.
I's there any inconvenient to do this? It's valid to connect all the and outputs together to build this bus?
I'll really appreciate your help.