LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Code for vending machine

Solved!
Go to solution

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.

0 Kudos
Message 1 of 21
(10,996 Views)
Solution
Accepted by vendingmachine

State Machine.

 

Are you looking for somebody to just do this for you?  Or are you just stuck somewhere?  What have you tried?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 21
(10,990 Views)

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?


 

0 Kudos
Message 3 of 21
(10,985 Views)

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

0 Kudos
Message 4 of 21
(10,982 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 21
(10,973 Views)

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.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 6 of 21
(10,968 Views)

could kindly assist me with the code 

0 Kudos
Message 7 of 21
(10,958 Views)

no am not preparing for cld am at the basic level trying to learn labview

 

0 Kudos
Message 8 of 21
(10,956 Views)

@vendingmachine wrote:

could kindly assist me with the code 


You need to show us some code so we know where you are at.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 21
(10,944 Views)

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.

0 Kudos
Message 10 of 21
(10,944 Views)