View Single Post
  #7   Spotlight this post!  
Unread 07-23-2015, 08:16 PM
Ari423's Avatar
Ari423 Ari423 is online now
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 518
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Summer Labview Challenge 2

Here is my submission to part II. It's similar to part I, except each time it adds how much of that type it's missing back into 'the pot'. At the end, I added a feature that calls the vi from part I to see what the minimum amount of extra change would be needed to make change correctly (the input wire is "paid" and "price" is left at the default of 0). I only had a brief chance to test the program, but I believe it works. If anyone finds a problem with it, please let me know.

Click image for larger version

Name:	Change Machine p2.png
Views:	18
Size:	86.0 KB
ID:	19227
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote