08-26-2015 01:29 PM
read a data vector y[k] from a file with 100 entries (you can generate in advance the y values as you wish);
- draw a graphical representation of N entries against time, where 1<N<100 is given (input) by the user in the application; time will be from 0 to (N-1)*Ts, where Ts is sampling period given also by the user in the application; for example N=50 and Ts=1s; - add to the graphic (waveform) a grey-coloured band, symmetrical around the waveform with x% from the instantaneous values y[k], k=1...N. The value of x is also an input given by the user in the application - for example x=2. This would represent the y values measured by a sensor with accuracy class x. To understand better the result, attached is a figure representing two voltage waveforms measured with 3% accuracy (x=3).
08-26-2015 01:41 PM
This forum is not for solving other's home work. I would recommend to start to show some effort. Start to build a VI. Go step by step, do not want to put every functionality in the VI at the beginning. If people see in this forum you do some effort, and you show us your VI by attaching here, you will get help. Otherwise I do not think so...
First part of your VI:
"read a data vector y[k] from a file with 100 entries (you can generate in advance the y values as you wish);"
I assume you already have a data file. Is this a binary or ASCII file? Do you know how to read a file in LabVIEW? If not, you can google for it or you can see examples from LabVIEW help menu (Example finder).
So first create a VI which reads data from a file in a way as described in your home work. If you get problems, post your VI here with a proper explanation what is your goal, and what is not clear.
Have a nice work!
08-26-2015 01:42 PM
08-26-2015 01:44 PM
Sounds like you are starting a good class.
Your question sounds like a standard representation of collected data with an error range.
This is a fairly standard real world application.
To just give you the answer would rob you of the chance to fully understand the question and real applications.
Also, the process of exploring LabVIEW environment is something that must be done by yourself. All engineers start off in this position.
If you need help with the LabVIEW interface there are many starter Youtube Videos, and NI has many pre-built examples.
I don't want to be mean, but this is something you have to do.
When you are finished with this question I would like to see what your program looks like.
So, please post back!!
I will subscribe to this forum and look forward to your answer.
08-26-2015 02:47 PM
belive me its my first year in labview and we did many simple exemples but the new teacher gave us this and its so hard not only for me but for many other collegue its not our level! for who want to help i will really apreciate ...
08-26-2015 03:06 PM
I use to be a Teacher Assistant in the college of Engineering, and I instructed many of the Labs.
Is this a group exercise?
If it is a group exercise then break up the assignment to your other classmates.
If you are doing this solo, then you will need to do the research yourself.
1.) Look up how LabVIEW can open and read files. (good example is how to open 'comma separated value' .csv file)
2.) Look up how LabVIEW can manipulate array data.
3.) Look up how LabVIEW can present data onto a graph. (thats a big one, start of with simple stuff first)
The reason I break up this assignment as such is because in the LabVIEW Help files there are many simple and clear examples on how to do each of these steps.
You, or your group will need to combine this knowledge.
When I say 'Lookup' I am meaning that you will need to look at examples of how that task is performed.
You will be looking at a lot of stuff that will not be giving you the direct answer. You must learn the skill of piecing stuff together, and there is no real way of teaching this without doing it yourself. And, usually with alot of failure.
-Good Luck,
08-26-2015 03:12 PM
thank you...
but if you were in my situation maybe you will undrestand...
08-26-2015 03:45 PM
I graduated from a very specialized program that had an average 85% drop out rate.
The professors encouraged us to drop out and leave on a daily basis. (unlike other colleges the professors where graded on the quality of the graduating student, and not the numbers that passed)
You will not find much sympathy in this forum.
Many people in these forums are professionals, with large responsibility's.
Ranging from multi-million dollar projects to developing life saving technology.
I'm always happy to help an engineering student, but I'm also equally willing to help an engineering student find an alternative career.
You can private message me if you so desire. I suspect many people reading this forum is getting tired of this conversation, and soon you will not like their responses.
I would like to know more about your 'situation'.
08-26-2015 03:55 PM
All engineers have been in your situation and trust me, we do understand. This is a forum full of teachers, students and professionals, all of which are VOLUNTEERS. We will not do your homework for you, but we are all willing to help you along and to help you learn LabVIEW.
Show us some effort on your end and you will get help. If you dont show us what you have done then you wont.
How about I write the program for you which cost me time and money. (time is money) and I get the full credit and the degree and you get to pay for it. I'm sure you would understand this if you were in our situation.
08-26-2015 09:14 PM
If your studies have you looking at LabVIEW, you're in a field that includes research and/or engineering. What exactly do you think this means? If you're in a situation where you know the answers, you're not engineering and you're certainly not researching.
Being in situations where you'll have to put in effort to learn something is paramount to your degree. You've been given step by step instructions that you could type into google and get the homework done for you with online guides. How much simpler do you want your homework to be?
Not only were we in your situation in school, we continue to be in your situation on a regular basis. It's not our understanding that's lacking. It's not our empathy that's lacking. It's that we're aware that eventually you're likely to graduate. If you graduate by whining on forums until people do your homework, we'll eventually have to work with you. At that point, you won't be competent in your position and you'll expect us to carry your dead weight. This isn't good for you. It's not good for us. It's time you start learning the foundational skill for your profession.
What have you tried? Post your VI. Don't post another beg for someone to do it for you. Post an effort you've made. Show us something, anything. But please, stop begging. This is a professional forum, not babysitting.