And display the main menu message the atm messages indicator
Assignment
Section 1: Module and Assignment Details
Assessment learning Outcomes
Be able to apply systematic approaches to conceptualization, specification and design of real time systems.
Be able to discuss the issues relating to the hardware software boundary and its implications.
ASSIGNMENT DETAILS
1.2.1 Application Development
The ATM controller simulates the control system of an Automated Teller Machine. The user interacts with controls and indicators on the front panel to perform common ATM functions such as deposit funds, withdraw funds, and inquire about the balance of funds from the user account.
The ATM controller has access to user account information stored in the Accounts.txt file. You, the developer, are responsible for creating the Accounts.txt file, which the ATM controller reads from or writes to, depending on user-initiated transactions. Refer to the ATM Accounts File specification section for more information about the initial content and data format of the Accounts.txt file.
Monitor user inactivity and terminate the user session after the specified time expires.
1.2.2 Sequence of Operation:
Start (Application Run):
After the user completes keying in the account number and presses the Enter (E) button, the ATM controller should access the ATM Accounts file and verify that the account exists.
If the account does not exist, the ATM Messages indicator should display the Account Verification Failed Message and prompt the user to re-enter the account number.
Withdraw: Click the button next to the corresponding Right Menu item. This action should display the Withdrawal Message, focus the cursor to the User Input control, and allow the user to enter the amount to withdraw from the account. After the user enters an amount in the User Input control and presses the Enter (E) button, the ATM controller should check if the account has sufficient funds to complete the transaction.
If the account has sufficient funds, the controller should deduct the keyed in amount from the current balance, update the ATM Accounts file with the new balance, and display the Withdrawal Complete Message on the ATM Messages indicator.
Balance Inquiry: Click the button next to the corresponding Left Menu item to get the current balance from the ATM Accounts file. The ATM Messages indicator should display the Balance Inquiry Message.
Return Card and Terminate: Click the button next to the corresponding Left Menu item to terminate the user session. The ATM Messages indicator should display the Session Terminate Message. The ATM controller should release the Card Simulator button to indicate the return of the ATM card, disable the User Input control, and terminate the application.
12.3 Description of Controls/Indicators:
Control Name | Control Description - Function |
Card Simulator | |
Left Buttons | Cluster of Buttons – Allows user to select ATM transaction |
Right Buttons | Cluster of Buttons – Allows user to select ATM transaction |
User Input | String – Allows user to enter Account number, Deposit, and Withdrawal amounts. |
Enter Button | Button – Commits the entry in the User Input |
12.4 ATM Message Types:
Message Type | Message |
Welcome Message | Press Enter (E) when done. |
Main Menu Message | Welcome to Acme Bank First Name, Last Name (from file) |
Account Verification Failed Message | Account Information Incorrect Please Re-Enter Account Number. Press Enter (E) when done |
Session Terminate Message | |
Deposit Message | Please enter amount to deposit and press Enter (E) when done |
Deposit Complete Message | OMR (Amount) Deposited |
Withdrawal Message | Please enter amount to withdraw and press Enter (E) when done |
Withdrawal Complete Message | OMR (Amount) Withdrawn |
Withdrawal Failed Message | Insufficient funds in account Please check your balance and try again |
Balance Inquiry Message | Your Balance Is: OMR (Balance Amount from file) |
Figure 2: Sample screen shot for ATM messages
Figure 3: Sample screen shot with Main Menu displayed:
ATM Accounts File specification:
The following four records should exist to test the operation of the ATM:
12345, Ali Abdul, 550
ASSIGNMENT requirements
Conform to Labview coding style.
Be created expressly for this assignment using Vis and functions available in LabView.
Labels on appropriate wires within the main Vi and sub Vis.
Description for each algorithm used.
The documentation should cover the design, specifications and purpose of the functions used in the system.
1.4 DOCUMENTATION STRUCTURE
You must also document your system by writing a properly referenced report, which includes the following sections:
Description and Justification
3.1 Design of the Front Panel along with the purpose of controls and indicators
Printing Details
The report must be written using Microsoft Word, with the following specifications:
Margins are 30 mm. from left and 25 mm for the other margins.
Paper size is A4, using one side and leaving the other side blank.
1.5 Items to be submitted
You should use as many of the statements given throughout this module as possible.
1.6 ASSESSMENT CRITERIA
Criteria |
Actual Marks |
Actual marks awarded | |
---|---|---|---|
First Marker | Second Marker | ||
SECTION I: FUNCTIONALITY (60 MARKS) | |||
A. Controls: | |||
|
5 | ||
|
5 | ||
5 | |||
10 | |||
5 | |||
B. Indicators: | |||
10 | |||
|
10 | ||
|
10 | ||
SECTION II: DOCUMENTATION (30 marks) | |||
10 | |||
10 | |||
5 | |||
5 | |||
SECTION III: DISCUSSION AND DEMONSTRATION (10 marks) | |||
Five questions , each question caries 2 marks | 10 | ||
100 | |||
Agreed Marks |
1.7 Plagiarism warning
Summary
Plagiarism occurs if you use somebody else's work in an assignment or exam answer, but fail to state where you got the material from. You need to be also very careful about the amount of words you are using from somebody else’s work.
The details
Copy extensively from the work of others (from sources such as books, magazines, journals, web-sites for example) and submit the work as your own. NB It is acceptable to refer to the work of others as long as you do not use too much, and reference your sources properly.
Copy another students’ work and submit it for assessment under your own name.
THE RISKS OF WORKING WITH OTHER STUDENTS
The picture is complicated and, unfortunately, it is not possible to give advice that is directly relevant to every module you study. If you are unsure about how to avoid plagiarism in any specific module, then rather than hoping and guessing, you should ask for guidance from the member of staff who delivers that module.
Our overall advice is straightforward; by all means discuss how best to answer questions or complete tasks with your colleagues, but when it comes to actually writing your answers - DO IT ALONE!