04-09-2012 12:29 PM
Good Afternoon all,
Very new to Labview 2011 and taking it as a class in college and need some help. I have tried many different ways but none are working so I will post the question and if anyone can help me with picture view I would very much appreciate it.
Question:
Provide a string control called Name. Provide a string indicator called Greeting. Provide a numerical control (U16 representation) called Last Name Length. The VI should examine the data entered in Name, find the firt name only and produce a Greeting that says "Hello Joe!" The VI should also find the last name, and determine the number of letters in it., and write this value to Last Name Length. Provide an appropriate connector pane, and connect up all three front panel items so that the VI can be used as a subVI.
Please help!!!
The picture is how it is supposed to look.
04-09-2012 12:40 PM
Try something first. Then ask for help.
Then find out that your problem is likely not specified very well and that division of names between first and last can be a bit difficult in some cultures.
04-09-2012 12:41 PM
@newstudent wrote:
Good Afternoon all,
Very new to Labview 2011 and taking it as a class in college and need some help. I have tried many different ways but none are working so I will post the question and if anyone can help me with picture view I would very much appreciate it.
Question:
Provide a string control called Name. Provide a string indicator called Greeting. Provide a numerical control (U16 representation) called Last Name Length. The VI should examine the data entered in Name, find the firt name only and produce a Greeting that says "Hello Joe!" The VI should also find the last name, and determine the number of letters in it., and write this value to Last Name Length. Provide an appropriate connector pane, and connect up all three front panel items so that the VI can be used as a subVI.
Please help!!!
The picture is how it is supposed to look.
Please help what?
Do you want someone to write your assignment VI for you?
Post your own VI first for help.
04-09-2012 12:42 PM
This is not a code writing service - especially not for homework. You are going to have to show some code that you have written and ask a specific question.
This is not a very hard task.
04-09-2012 12:42 PM
@newstudent wrote:
Good Afternoon all,
Very new to Labview 2011 and taking it as a class in college and need some help. I have tried many different ways but none are working ...
Of course, we only have your word as proof of this...
04-09-2012 12:44 PM
Im not sure even where to start, this is what I have so far
04-09-2012 12:52 PM
@newstudent wrote:
I have tried many different ways but none are working so I will post the question and if anyone can help me with picture view I would very much appreciate it.
Please show us all your failed attempts and explain in what way they did not work (unresponsive, wrong result, no result, clipped result, computer crashes, computer blows up). Maybe you can see a pattern yourself after doing some tutorials or by looking at the lecture notes you took during the course.
There are no programming environments called "picture view" or anything similar (PictureVIEW, etc.).
Since you posted in a LabVIEW forum and judging from your picture, I assume you mean LabVIEW. Can you confirm that?
04-09-2012 12:54 PM
I believe that the problem statement should read "Provide a numerical indicator", not a "numerical control", since you are supposed to write the length of the last name to it. Of course, you could use a control, but that would mean needing to use a local variable, and I don't think that was intended here.
You seem to be using Match Pattern. OK. What's the search pattern? Is that a single space? 20,000 spaces? What does the output of that function give you? Have you tried writing a simple VI that has just that function in it, providing it a string input, and seeing what its output is? Experiment with the function to see how you can use it.
04-09-2012 01:13 PM
@smercurio_fc wrote:
I believe that the problem statement should read "Provide a numerical indicator", not a "numerical control", since you are supposed to write the length of the last name to it.
:nod
That threw me off too. Re-read it, and realized the person writing it must have made a mistake.
04-09-2012 05:55 PM
This isn't http://labviewhomework.com/, you know.