sbeekman Posted December 27, 2012 Report Share Posted December 27, 2012 I'm trying to troubleshoot a program where it has a check status on startup. The way the program was written it checks all major inputs at startup when the main display is loaded. It basically checks 4 main inputs, Emergency Stops, Water Detection, High Level and Low level. My main problem is the way it was written is that they all active 1 MB (which I don't think is right). So the 4 seperate screens fight each other. It looks kind of like this: Estop [P]----------------MB Scan Bit Estop [N] Water Detection [P] Water Detection [N] High Level [P] High Level [N] Low Level [P] Low Level [N] Then the 4 all have something similiar to this: MB Scan Bit [ ]-----------Estop Active [ ]-----------Display Estop Active MB Scan Bit [ ]-----------Water Detection Active [ ]-----------Display Water Detection MB Scan Bit [ ]-----------High Level Active [ ]-----------Display High Level MB Scan Bit [ ]-----------Low Level Active [ ]-----------Display Low Level I've found that the low level takes priority and the Estop Screen is low priority. My only solution I could think of would be to have all the warnings on one screen, and if they were activated it would show just those that were activated. The client is more in favor of having a different warning screen for each individual one. Is there a better way to do this with the existing code or is it just better to rewrite the code so that each event has it's on bit? thanks in advance Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.