04-23-2023 03:18 PM
I am trying to simulate an ATM machine. I successfully implemented the user input for login and password but I couldn't program the Deposit, Withdraw and Fast Cash functions. I am also having trouble with displayed messages since they keep reappearing. If anyone can help with any of these issues it would be much appreciated.
04-23-2023 03:40 PM
@mrashidi1 wrote:
I am trying to simulate an ATM machine. I successfully implemented the user input for login and password but I couldn't program the Deposit, Withdraw and Fast Cash functions. I am also having trouble with displayed messages since they keep reappearing. If anyone can help with any of these issues it would be much appreciated.
When developing application like this make sure you follow proper design patterns/architecture.
It is suggested to avoid Flat Sequence structure as much as possible, To achieve your application simple state machine will solve your case.
Application Design Patterns: State Machines - NI
If you are practicing this for CLD Exam, Please make sure you understand the program structure completely not just replicating the sample exams
Also, there is a separate community page available for getting code review Certification - NI Community
where you can post your code module for review.
04-23-2023 05:56 PM - edited 04-23-2023 06:03 PM
Before trying to do certification examples, I would recommend to study some of the examples already posted in this forum.
As has been said, significant parts of your code raise huge red flags. For example: