Hello,
If I understood your query correctly, you want to execute the right case-structure depending on which true signal you have -- 2nd would execute the 2nd case, 3rd true signal would execute 3rd case, etc., right?
If this is the case, you basically have to keep a count of your true signals. And one way of doing this is to use while-loop and an uninitialized shift-register. Everytime you get a true signal, you would increment the count in the shift-register. Set the while-loop condition so that it executes only once each time. And you do not want to initialize the shift-register because you don't want to zero out the count each time. And your case structure would also be inside this while-loop.
Hope this makes sense.. and helps. Let me kn
ow if you need more clarification.. or if I missed your point.
Regards,
Khalid