Hello, I started using Labview from few days and my first need is to plot some data reading it from a text file.
Attached an example of data file I need to read and plot.
Thanks for helping me.
Hi Cadilac..
You can read this into LabVIEW in a number of ways, I would personally used the read spreadsheet VI.
You can skip the first few rows (i.e. the header) and then perform some string manipulation to separate the numeric values from the units.
Or you can save your data (assuming you are the person generating it) in a way that is easier to import and parse.
Ingram
I'd break this problem into several parts. I assume you know how to get the Help text for a function (if it's on your Block Diagram, right-click it and choose Help from the Drop Down menu).
Things you need to know to come up with the "simple" solution I described include:
Hint -- all three of those "things" are related to the output tunnel.
Bob Schor
Thanks Bob,
I'm trying to follow your precious suggestions but for the moment I have still some issue.
Give me another few days and if I'll be not able to make it working I'll ask you again something.
Regards,
Edoardo
Hello.
Please have a look on this VIs.
I've implemented for you.
I think, I've understood your problem.
That's exactly what I had in my mind.
The project is really more complicated than what I was thinking but probably this was beacause of my inexperience in LabView.
I'll look deeper in your VIs to understand how it is working.
Many many thanks for the help Hayk.
Just a little question ... do you have some book to suggest me to learn LV ... or do you think is better to learn with LV help and examples ?
Thanks again for all.
Regards,
Edoardo
The only physical LabVIEW book I've seen is called the LabVIEW Style Book by Peter Blume. It's about $50 used on Amazon. It's a little dated, and may not show the latest and greatest features, but it's a good read.
If your company recently purchased LabVIEW, you should have access to online classes through your SSP. The Core 1 and Core 2 classes would be great for a beginner to go through.
When I started with LabVIEW (about 10 years ago), I read Jim Kring's "LabVIEW for Everyone", which explained many of the (older) LabVIEW functions (pretty encyclopedic), and Peter Blume's "The LabVIEW Style Book", which taught me to "think LabVIEW" and the importance of LabVIEW Style. I actually read that cover-to-cover at least 4 times.
I've urged both authors to write a new Edition (and volunteered to "critically proof-read it" for them) -- maybe next year.
Bob Schor
Hello.
My opinion is to learn with LabVIEW Core 1 and Core 2.
You need to read course manuals and do its examples.
After that you need to do a lot of programming exercises for your practice skills (for example implement Windows Standard Calculator).
Thanks for the suggestion Gregory
Edoardo