todd Posted April 8, 2013 Report Share Posted April 8, 2013 I may try the CLD test in a couple of weeks. Here's the ATM exam written in LV12 with AF package version 4.1.1.33. This took me about 4.5 hours (though I had to pause overnight at 2.5 hours). I didn't do any planning at all: code-and-go all the way. The UI is the only actor. I really wanted to make the file I/O an actor of its own, as well as a countdown timer (so their FPs could be shown during DEBUG==True), but I'm not THAT fast. Overall, I'm happy with it, for the time spent. Comments are welcome. my ATM AF Solution.zip Quote Link to comment
Minh Pham Posted May 1, 2013 Report Share Posted May 1, 2013 Interesting to see you implemented the actor framwork to this example. Looks great, i have a very quick try and go through the code. Only found 1 issue: -Error handling for the user input, when deposit if user input a text instead of number, an error 85 is generated. The problem is that you wired theerror to the input of the "Error cluster from Error Code" vi in the UI.lvclass:Enter Pressed.vi within the Deposit Amount case, so this vi can not execute as you wanted. Quote Link to comment
todd Posted May 1, 2013 Author Report Share Posted May 1, 2013 Oh, right! In "UI.Enter Pressed.vi". Nice. A boiler exam attempt is here: http://forums.ni.com/t5/Certification/Sample-Exam-Solutions-for-Review/m-p/2385580#M738 I've been working on "real-world" code to see if some of the pros, here, might review it - but as soon as I get each piece close to ready-for-public-eyes, I become comfortable enough with it to switch to customer-specific instances. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.