NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Manushak
Posts: 35
0 Kudos

ATM controller

I have developed the new version of this sample. I hope it is better than the old version.

Member
Mike_Le
Posts: 71

Re: ATM controller

You're missing the Menu.ctl file from your solution.

 

I STRONGLY recommend bundling your files into a project file. It looks like you just copy/pasted from a preexisting solution front panel?

 

I was able to open it by pointing to a solution I have on my local drive, but most reviewers here won't bother (and obviously they wouldn't bother for the actual test).

 

Lots and lots of spelling mistakes in the ATM messages... running VI Analyzer will point these out to you. Tons and tons of wire bends, and some object overlap... you'll lose points.

 

"Fast Cash" is non-functional.

 

You have a while loop in "Read_write file" but it has no purpose? If you wanted to create an Action Engine, you'll need to use a shift register with the loop. Otherwise, get rid of the loop.

 

Enums and clusters should all be typedefs.

 

You have a case structure for many of the Boolean Value Change events, so they only trigger if "NewVal = TRUE." This is unnecessary and adds a lot of nesting/complexity. If you're worried about the state of the booleans, set them on startup.

 

No VI Documentation for your sub-VIs, so you'd definitely lose points there.

 

Overall, it's almost completely functional, so that's good. Your use of an event-based state machine is a clean architecture. But you will definitely lose a lot of style and documentation points.

 

Good luck!

-----

CLD 2012
Member
Manushak
Posts: 35
0 Kudos

Re: ATM controller

Hello Mike. Thank you  for remarks. It really will help me.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page