mohannad i see your project, i understood that you want to select certain data to go through your block .
we can select these data by a switch (multi-switch) , this switch permits a vector of data to transfer into your block , but the problem that we need a control signal that chooses any data which transfers
i made a control block for you to perform this object , so your problem (باذن الله) was sloved
my block is attached in attachment files
Eng. mufeed al-turk