LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Coffee Vending Machine - with input and output states

Hello, I have been assigned a task in LabVIEW for a coffee machine. However, I have a short deadline to complete it (by June 28). I found a very similar task here to mine (the professor must have looked at it for sure).

For this program, you should add the coffee preparation duration (50s for Espresso and 90s for Cappuccino), and include an option to 'Add sugar.' If this option is selected, the coffee preparation time should be extended by 10 seconds (60s for Espresso and 100s for Cappuccino).

One more addition is to store all input and output states in a file called 'money_state.'

Does anyone happen to know how to do this? Can anyone provide some assistance?

0 Kudos
Message 1 of 3
(1,431 Views)
  • Please use zip, not rar when attaching an archive. Nobody should be required to install additional windows software just to look at your files.
  • Is this your code or the code you found somewhere? Please give a link. (It looks very similar to my example here)
  • Most users here don't understand Croatian, so the program is a bit hard to read.

Are you happy with the program? Does it work so far and you only need to add timing? What else? (Note that you must have mutilated the labels of the radio control (Izbor kafe) and the constants wired to the value proerties are no longer correct).

 


@Daine1606 wrote:

One more addition is to store all input and output states in a file called 'money_state.'


There is nothing labeled "money_state". Please explain what "store" means. Do you want to edit the enum by adding more items?

 

0 Kudos
Message 2 of 3
(1,405 Views)

First of all, thank you for the response. I was searching the forum and found this LabVIEW post here... Yes, it is your example, and I'm sending the link (https://forums.ni.com/t5/LabVIEW/Coffee-vending-machine/td-p/4232135/page/2).

The program is great, but I should add the coffee preparation time (50s and 90s). Also, if we add an option for "sugar selection," it should extend the coffee preparation time by 10s.

 
Regarding the second part, we need to create a subroutine called "Money State" to store the input and output in real time/date data about the money in the file "moneystate.txt." (Note: I think It is necessary to use the function "Open/Create Replace file" and "Write text file").
0 Kudos
Message 3 of 3
(1,389 Views)