12-06-2012 06:11 PM
In my software I used case structure in while loop and while program is running I want to change case structure for example I have 2 case 0 and 1 and each of them has a different program code to control device and I created enum also to change case while software keep run but it does not change, when I started with case 0 it does not switch case 1 even I chose case 1 in enum, and if I star with case 1, it does not switch case o even I chose case 0. What it could be the problem? my software is attached to be clear about my problem.
Thank you
12-06-2012 06:31 PM
Your case selector needs to be in a shift register. You will also need to wire the data through ALL of your cases.