12-18-2011 12:22 PM
I have done this very quickly but still ran out of time and haven't done documentation and completed full functionality. I tried to complete full functionality but its not working. For some reason, the application jumps while running from east zone to west zone and both North and south zones are skipped completely. With highlight execution turned on, I found that the consumer loop takes two executions to run the command (case name)wired to the enqueue element functions. First time it just ignores it. I cant think of the reason. Maybe I am doing something very stupid. Also my rain selection sensor doesn't stop the controller.
Will appreciate feedback and advice.
Kind Regards
Austin
12-19-2011 04:31 PM
There is quite a lot wrong with this. I know it is very difficult to do in four hours but keep practicing. I only took a quick look at it but these are the things I noticed.
There is probably a lot more that I am overlooking but that is all I have time for right now.
12-19-2011 05:27 PM
In addition to the many good points that Steve gave you I would take a look at the LabVIEW style guides. To be blunt, this code would never pass a CLD exam. If this is representative of your normal code you will need more practice in order to pass the exam. It is always easy to just drop stuff on the diagram and throw wires around but it is best to get in the habit of keeping things organized, neat and clean from the beginning. Your code will look better, be easier to read and easier to understand. If you wait until the end to do the cleanup you are doing double work. Once creating clean code is a habit you will find it easier to do something the CLD exam with its strict time limit. If you have to think about keeping the code clean you will be too slow to complete the exam. These are good habits to have regardless if you are trying to pass the CLD exam or not and in the long run will serve you well.
BTW, given the state of this code in general I didn't dig into it to see why it wasn't working or what bugs existed.
12-19-2011 07:39 PM
Really appreciate your time Steve. I will try again. Thanks
12-20-2011 08:29 AM