Quote:
Originally Posted by vhcook
What are you trying to get to happen here?
If all your case statements are true/false only, and the actions inside are just setting one output, you might do better using a combination of Select blocks (the labview equivalent of an if/then/else) and appropriate boolean operators to get a final result.
Alternately, you could use a series of select blocks to choose a named state (using an ENUM value) that you feed to one case statement to pick the final result.
|
This is for our collector. With the collector we would find the tote getting caught on one side and we would not really be able to get the tote unstuck quickly. So we made it so that one collector wheel would move forward and the other one would spin backwards. So the code is making it do that but there needs to be a better solution then that. it was a quick fix at a competition that we were going to solve sooner but never got to it. and I don't know how to fix it