LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview task

Hello, I have a labview assignment task that I have to do. 

chrome_2019-03-21_02-23-13.png

 

Currently, this is what I have done. 

LabVIEW_2019-03-21_02-26-22.pngLabVIEW_2019-03-21_02-26-14.png

 

 

 

I'm not here to ask if someone can finish the work for me or etc, rather I seek guidance on how to finish this task. 

What should I look for (search on the internet) to solve this, as this is my main issue. I have no clue on what to search on or in what way to do this. Am I supposed to do this with case structure, boolean, array, events etc?

0 Kudos
Message 1 of 17
(3,302 Views)

Wow!  You can't be bothered to provide your homework assignment in a format that we can read, can you?  It's a poorly-formatted picture, and I don't have a "magnifier" on my laptop.

 

I'm guessing you are taking a LabVIEW class, and have this as an assignment to test if you understand the material you are supposed to learn.  Have you learned it?  Have you talked to your fellow students and asked them for help?  Have you read the material?

 

Bob Schor

Message 2 of 17
(3,289 Views)

Not sure what that code so far comes from.

 

Subtask 1 is "create a string", and it's not there. I'd start at the beginning...

Message 3 of 17
(3,259 Views)

@Bob_Schor wrote:

Wow!  You can't be bothered to provide your homework assignment in a format that we can read, can you?  It's a poorly-formatted picture, and I don't have a "magnifier" on my laptop.


The magnifier is shipped with Windows nowadays*. Windows key + "+" will activate it.

 

Still a valid point of course. OP should make things as easy as possible, if success is to be expected.

 

(MacOS as well, IFAIK.)

0 Kudos
Message 4 of 17
(3,254 Views)

Hey, I'm sorry to have it in bad format. It looked fine from my perspective, I'll re-upload a new one. This is not a LabVIEW class, this is our electric car project, that's what the class is called. We built an electric car and make it function with MyRIO. Everyone gets their own assignment, so no point asking other students. Yes, the material has been read, I have some hum on how to do it, however not sure if it's correct and I get stuck a lot.

 

Enhance the 'Buying food' program:The program should run until you press a Stop button (which you have to add).That

Subtask 1
Add a string Indicator that suggest what you should cook.
The output should be: 'I suggest you should cook [dish]'. Where [dish] is replaced by:
Pasta all'arrabiatta, if the user selects pasta and tomatoes only
Spaghetti bolognese, if the user selects to buy cheese, tomatoes and meat
Pasta non-definito: if the user selects to buy pasta and cinnamon buns only
Output: 'I have no idea what you should cook!', in all other cases

Subtask 2
Advertising your products is important to run a business. Add four LEDs to make a small lightshow. One LED is shining a time. The shining LED jumps from LED 1 to 2, from 2 to 3, 3 to 4 and 4 to 1 and repeats. As higher the total price, as faster the LEDs move.

 

0 Kudos
Message 5 of 17
(3,215 Views)

I tried with a string indicator using case structure, however, then it uses boolean which won't work in my case?

0 Kudos
Message 6 of 17
(3,244 Views)

@ggripen wrote:

I tried with a string indicator using case structure, however, then it uses boolean which won't work in my case?


Why does 'it' use Booleans when you use a case structure that outputs a string indicator?

 

Better post some code to show that attempt.

 

I still don't see how your solution so far matches anything in the image of the assignment. Is there more to it? If you only tell us 1/2 the problem, you'll probably get 1/4 of the solution or less.

 

EDIT: I'd go for an enum with the four dishes, and put it into a format into string to display the required output string indicator. That should take part of the first assignment. And if this doesn't make any sense, the free online courses might help...

0 Kudos
Message 7 of 17
(3,238 Views)

In case you fail, you may object that the assignment text is wrong: "arrabbiata" must be written with a single t !Smiley Very Happy

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 8 of 17
(3,208 Views)

You mean something like this? Should the enums be seperated or can I have multiple items in one?

 

EX2rGMA

0 Kudos
Message 9 of 17
(3,191 Views)

Try wiring up the enum to the case structure [?] and see what happens.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 17
(3,182 Views)