01-04-2013 09:37 AM
Sir,
I would like know the code for a vending machine which has x no of items and accepts any change and at the same time returns the excess change back to the customer.
Thanking sir.
Solved! Go to Solution.
01-04-2013 09:53 AM
State Machine.
Are you looking for somebody to just do this for you? Or are you just stuck somewhere? What have you tried?
01-04-2013 10:02 AM
if code is readily available i will go through it and try it
@crossrulz wrote:
State Machine.
Are you looking for somebody to just do this for you? Or are you just stuck somewhere? What have you tried?
01-04-2013 10:05 AM
i tried a vending machine which does not give change and acpets only the exact chnge so i would like to modify it if someone guides me
01-04-2013 10:18 AM
It doesn't seem like your problem is really solved. So you might want to unmark my earlier post as the solution and give me a Kudos instead.
Care to share your code? Tell us where you are stuck.
01-04-2013 10:23 AM
Are you doing this as practice for the CLD? If so you may want to spend time figuring it out on your own since there will not be anyone who can assist on the exam itself.
01-04-2013 11:03 AM
could kindly assist me with the code
01-04-2013 11:04 AM
no am not preparing for cld am at the basic level trying to learn labview
01-04-2013 11:31 AM
@vendingmachine wrote:
could kindly assist me with the code
You need to show us some code so we know where you are at.
01-04-2013 11:34 AM
If you understand the existing code, it should be trivial to make these changes. Do you understand the code you currently have?
If you show us the original code, maybe we can give you some pointers.