LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a book which explains the basic concepts of programming?

I am a new LabVIEW user (mechanical engineer by training). I am working on a real project with a consultant, so I have made more progress than I would have on my own. I am looking for a reference book which will explain the basic concepts of programming. For instance, I still don't understand the concept of Task ID. There are many other examples I could give. When I study the Help files for the various vi's in the libraries, I have a hard time understanding many of the inputs and how some of the vi's operate. I am looking for a reference book which will allow me to fill in some of these gaps in my knowledge of basic programming.
TIA
0 Kudos
Message 1 of 8
(4,413 Views)
There are quite a few authors that have written just what you are looking for - one of the most popular is Gary W. Johnson (I have 2-3 of his, and find them most useful).
Look at the attached link for more ideas, and good luck with your search, Doug

http://www.bestwebbuys.com/books/search?q=labview&t=Keyword&x=31&y=12
0 Kudos
Message 2 of 8
(4,413 Views)
In addition to Doug's post I might suggest you to consider NI's "G Programming Reference Manual" [http://digital.ni.com/manuals.nsf/websearch/8603C072BB0FAAE98625665E006358A6?OpenDocument&node=132100_US] . Is good to read it before anything else (my opinion).
Good luck!
0 Kudos
Message 3 of 8
(4,413 Views)

Please note that the G Programming Reference Manual is obsolete and has not been updated since LabVIEW 5.0. For the most recent version of all LabVIEW manuals, visit the Product Manuals library at ni.com/manuals.

Also, note that you can perform a quick search of all PDFs installed with LabVIEW by selecting Help>Search the LabVIEW Bookshelf (6.1 or later) or Help>View Printed Manuals (6.0 or earlier).

Kelly H
LabVIEW Documentation
National Instruments
0 Kudos
Message 5 of 8
(4,413 Views)
There are many books on the market but learning LabVIEW is more a matter of trial and error than anything else. I bought the books and they don't really say any more than the LV user manuals, and they aren't tutorials. I even took the Basic & DAQ LV courses with National Instruments but the instructor was bent on teaching power tricks and didn't have us turn on our computers. It was a week long lecture that was totally lost on beginners. I was lucky in ending up friends with a LV programmer. Other than that, many lost hours of sleep and frustration. It ain't easy for sure. I've been doing it for two years now and I still don't understand what others feel are basic concepts. A real programmer would probably say my programs stink, but the bottom line is, they d
o work and my boss is happy because he can't afford a real programmer.
Bob
0 Kudos
Message 4 of 8
(4,413 Views)
Hi, when I started LabView the manuals were not of much help. I
used "Learning with LabVIEW" by Robert H. Bishop to be really
helpful in starting to understand how you use LabView. The
book was not expensive but got me started.

So far every book I have read on LabView does not explain how
to solve problems with. You have to use LabView alot to understand
how to best solve problems. Right now I'm under the impression that
always building a state machine is the best way to create any program.

Programming with LabView is really a different way of thinking when
programming. Also it takes a day or two just to figure out where
things are on the pallets.

Regards,

Steve Drake
0 Kudos
Message 8 of 8
(4,413 Views)
First, are you looking for a book about the basics of LabVIEW, programming basics.

For programming basics, I would go to the Library and check out some books about programming. There are going to be hundreds of them, so just pick the one that you think will answer your questions.

As for programming in LabVIEW, I always recommend "LabVIEW for Everyone". Additionally, you could purchase the self-paced LabVIEW Basics I and II CDs. They are quite helpful, and time saving (and cost saving) if you can't make it to a full course offered by NI. I still recommend you take at least one or two courses from NI of course.

One other thing you can do is to pay your consultant to train you on the basics. It may well be worth it to you. You seem to be lacking in
the very basic concepts (from what you say that is.) A consultant can tailor the training to your exact needs. Still, a book can be a valuable source of information.

Good luck, and welcome to the LabVIEW world.
0 Kudos
Message 6 of 8
(4,413 Views)
I am in much the same position that you are. ME with no real
programming experience.

I even put together a project plan and sent an rfq to a local
consultant to come in and sit with me and give me a jump start. All
with an eye towards understanding the process no just getting some
black box code.

My boss wanted some concrete deliverables before he would hire any
help. The consultant dropped by to get a better idea of the what he
could actually deliver in order to write a quote.

I had to do enough homework just to write the rfq that I began to see
the pieces of the problem more clearly. I started calling the NI help
line with little pieces of the problem. I ended up eating the
elephant one bite at a time - without outside help. It took a couple
months, but I can function reasonably well now.

My advise is to start calling NI's help line (there are 90 people
manning the phones in Austin and they are pretty good). Ask them to
explain Task ID, etc. They are there to answer those questions and
more. I never have to wait. This is an unbelieveable service. You
will soon learn that they immediately turn to the NI web site and
search the techincal resources for pertinent info. I now do that
first, and if I have limited success, then I call NI. They will help
you find example code and frequently write snipets for you. Keep the
questions well defined and you will get well defined solutions. If
the question is nebulous it may be hard for them to solve the right
problem for you. I have asked general strategy questions and gotten
good answers.

Another good resource is all the example code that ships with LV. Go
to Help>Contents and Index. Find the Serch Examples pick and drill
down the the most likely code and try it out. If it doesn't do quite
what you need, monkey around a bit and then...call NI.

I found the Course Kits to be the best literature. In particular the
Basics I and II are really excellent. It is worth stepping through
the whole course because the slip in all kinds of little hints and
tricks you would miss if you skim or just use it as a reference. If
you can find the time to work through Basics I and II you can skip
going to the classes. But, unlike New To This, I had a very good
teacher who followed the course material closely. Hopefully, his
experience is the exception. I took my class at the Rockville MD
location if that is meaningful (it may not be).

Less speedy but useful are the forums on the NI website. I was trying
to use a Counter/Timer card (6602). There is very little info in the
course lit, or 3rd party books on counter/timer apps. THere is a
forum for speifice types of hardware. I got some good advise fromt
the forum. But it might be a few days or even weeks before you get an
answer. This could be a function of the counter/timer forum being a
slow forum, who knows? Actually I was advised to try the forums in
this newsgroup which tends to be more mainstream.

Anyway I remember how incompetent I felt a short while ago and I
sympathize. So much is left unsaid in the printed literature, it
seems like there is no clear path to anything at first. Once the
first hump is cleared though, it gets much better. Hope you don't
have a deadline.

Oh yeah, Task ID - Say you are prepareing to read in analog signals.
You will use various VI's to set up buffers and configure the DAQ
board (set attributes)to collect data, and clear the buffers when
finished. The Task ID groups the VI's to work on the same task.
Within one VI you can have your DAQ board first do a read operation
then a write operation. The VI's for these ops are different and the
Task ID organises them. Hint (I know you are wondering this) - the
error wires are used to sequence the operations of the VI as well as
collect error info. Once you get a feel for the data flow of LV
(which is different from the Fortran we had to learn) it becomes more
obvious how the Task ID and error wiring work. Try messing around
with the debugging tools. Hit the light bulb icon and run the VI.
Hit the Pause icon and use the step, step through and step out icons
to see how things proceed. Mess around with break points and probes
to see how things work.

This is a great tool once you get going.

Good luck,

Mike
0 Kudos
Message 7 of 8
(4,413 Views)