<< Chapter < Page Chapter >> Page >
Learn about the LabVIEW programming environment, create your first virtual instrument (VI), learn about LabVIEW's dataflow programming paradigm,become acquainted with some of LabVIEW's data types, and review some useful debugging techniques.


Welcome to the exciting world of LabVIEW for audio and signal processing applications! This module contains five screencast videos, meaning that the videos were captured directly from my computer screen. As I operate the LabVIEW software, I explain each step and discuss what is going on. After you watch each of the videos, you will possess a good idea of some fundamental LabVIEW concepts, including:

  • Front panel and block diagram programming paradigm
  • Dataflow paradigm
  • Data types
  • Broken wires
  • Debugging techniques

A bit of history

In 1986 National Instruments Corporation released the first version of LabVIEW ( Lab oratory V irtual I nstrument E ngineering W orkbench), which was designed to help engineers use a computer (the Apple Macintosh) to control and gather data from electronic instrumentation (voltmeters, oscilloscopes, and the like) all interconnected by the standard General Purpose Instrumentation Bus, or GP-IB. From its inception, LabVIEW programming was graphical in nature. Instead of writing a text file and compiling it to an executable, you connect various elements such as controls , indicators , nodes and subVIs together with wires , and in this way create a block diagram . The controls and indicators reside on the front panel , which looks just a traditional electronic instrument, i.e., it can have knobs, sliders, buttons, and display panels. The complete application is called a virtual instrument , or VI for short.

LabVIEW has since evolved into a complete programming environment; anything that you can imagine can probably be implemented in LabVIEW. Recent versions of LabVIEW have added a full suite of tools for doing signal processing, and since soundcard operations are provided, it becomes natural to develop audio signal processing applications in LabVIEW.

LabVIEW’s interactive front panel offers a unique opportunity to explore signal processing concepts in real time. As you work your way through other modules in this series, you will learn how to implement your own applications whose user interface consists of knobs, sliders and switches that can adjust processing parameters while you listen to the results.

Your first virtual instrument (vi)

Watch the following screencast video to learn how to connect front panel controls and indicators together. You will also learn how to use the While Loop structure to make your VI operate continuously until you press a “STOP” button on the front panel.

[video] Creating your first "VI" (Virtual Instrument)

The dataflow concept

The notion of LabVIEW’s dataflow programming paradigm must be grasped immediately in order for you to make forward progress learning about LabVIEW to create your own applications. Dataflow programming means that valid data must be present at all of the input terminals on a node (or subVI) before that node (or subVI) will produce valid data on its output terminals. Moreover, the node (or subVI) does not continually process its inputs data unless it is embedded in some sort of looping structure.

Click on the following animation of the dataflow concept to watch a screencast video that explains and further explores the dataflow programming concept.

[video] Understanding the LabVIEW "dataflow" paradigm

Data types

LabVIEW supports a broad range of data types , including numeric , Boolean , and string . The following screencast video will acquaint you with the floating point and integer styles of numeric data type, as well as the Boolean data type. The screencast explains the significance of the coercion indicator -- the red dot that flags a mismatch on data types applied to the input of a node or subVI -- as well as data type conversion nodes that you can use to intentionally convert a value from one data type to another.

[video] Datatypes: Numeric and Boolean

Broken wires

Broken wires indicate an error that must be corrected before your VI will run. Broken wires result from a number of causes, and it is important to understand why the wire is broken and how to correct the situation. The following screencast describes broken wires in detail.

[video] Understanding and correcting broken wires

Debugging techniques

As you begin learning LabVIEW so that you can develop your own VIs, you will find the debugging techniques described by the next screencast video helpful. Topics include adding additional indicators, using the Highlight Execution feature, using the Retain Wire Values feature, single-stepping , viewing wire values using probes , and creating breakpoints to pause execution when new data is available on a wire.

[video] Basic debugging techniques

For further study

If you are new to LabVIEW, I recommend the excellent text by Robert H. Bishop, Learning with LabVIEW 8 (Pearson Prentice Hall, 2007, ISBN 0-13-239025-6) . With this text you can learn basic LabVIEW programming techniques and get a better idea of everything that LabVIEW has to offer.

Once you have developed some skill with LabVIEW, consider Peter A. Blume’s text, The LabVIEW Style Book (Prentice Hall 2007, ISBN 0-13-145835-3) . This text covers a wide variety of techniques that will help you to develop robust and well-designed LabVIEW applications.

Don’t forget to check out the on-line documentation that is part of your LabVIEW product installation.

Visit the National Instruments website, including their Academic page and the NI Developer Zone .

Questions & Answers

mcq creativity involves
Sanjika Reply
send me the answers
mCQ creativity involves
ology means a study of
SharaAmor Reply
is a greek word means soul
a branch of knowledge
psych means soul and ology means to study.
Can someone help me with tha latent functions of different social institutions
***interestinglydifferenttopics.blogspot.com/2020/10/reflexes-psychological-debate.html Do check this out and please correct me if I'm wrong anywhere in this
Interestingly Reply
Factors that affect learning?
Ofentse Reply
I am struggling with survivors guilt and complicated grief after traumatic death of spouse. how to cope.
Rowdy Reply
Try to talk with someone you trust and join people who makes you feel worthy. try to help someone. Helping someone makes you feel better
I think you must seek professional help.
I am extremely sorry for your loss...I know that the pain of your loss is overwhelming and that you are experiencing all kinds of difficult and unexpected emotions. please don't get me wrong but the best way to cope is to move on..i know its hard..but that's the only way..(continued.)
stop burdening yourself with thoughts that say you could have done something..you couldn't..your just a human being and you cant always be a superman who saves the day..please dont feel guilty when you have no reason to..(cont.)
learn to love yourself again..learn to live ..for yourself,for the people who love you and need you in their lives.live for people who you once loved...Think about how you can make your life meaningful once again.It might seem impossible but trust me its necessary ..
Let your feelings of pain out ..you dont have to suffer ..talk to people whom you trust and love. take care and have a beautiful life ahead.
First and foremost -- Wow Rowdy! You have been through a highly difficult situation in your life, hands down. As a wife, I simply cannot phathom nor imagine slightly the feelings and thoughts you bare and I'm sure as these words do not help and hit rewind; my heart and prayers are going out to you-
today. I will say as well, everything you are feeling and going through, please know that these feelings and thoughts are all allowed, it is okay for you to find yourself feeling or thinking things that you would never find yourself wanting especially given the situation. I'm sure you question --
yourself, which in turn could make you question who you are right now and what this means for you as a person now and in the future. This is all okay, but there will have to be an understanding as to how to grow from these feelings and thoughts in a more humane manner l as these feelings and ---
thoughts could take a turn for a much more negative outcome as you find yourself trapped in a darkness that, if strong enough, trials and tribulations take years of complex development and experience, less strong minded individuals sometimes either never find the light, or end up being stuck in ----
a subconscious netherworld as they are consumed given the manipulation that was not understood to overcome. It results in losing all sense of heart, faith, soul and intelligence so that you don't grow, which in your case, growth is crucial. This is what your spouse will do their best in trying -----
to guide you through; keep an your senses wide open so that you can learn when she is trying to communicate.
What is meant by politics of intelligence? Please guide about this article.
Ali Reply
Thanks angela
Can u please explain it to me in your words?
Information about child psychology
Mohammed Reply
what is this
any theory recommendations about socialization?
help me please:<
actually I don't know
I badly need some for my research :<
But I need that😥
***courses.lumenlearning.com /boundless-sociology/chapter/theories-of-socialization/
branches of psychology
QSN Reply
Legal psychology
Developmental psychology, Sports psychology , Clinical psychology , Marketing psychology , counseling psychology , Biological psychology, Educational psychology , Positive psychology etc.
social, occupational psychology
what does it mean when the temporal lobe is anterior to occipital lobe
John Reply
the cortex refers to what part of the brain
the cortex refers to what part of the brain
cerebral cortex
in what time of situation is training most useful?
marjelee Reply
during bad experience
i think its not about suitation, its about the thing tatz need training.
training is possibly warranted for all situations.
I would think that training should be an ungoing thing. That's before, during and after. just in case there's a reoccurrence
any time
what is Karma
ana Reply
I think the summation of good and bad deeds you do in your life. Accidentally or otherwise.
Yes. I totally agree.
And if it is bad then the root must have been too.
Yes , In Hinduism we also believe that our parent's Karma also applies to us ! Don't know about that , but it kept people in check .
Adding to Swarada point. karma can be good or bad. both will have consequences. karma is biasedness you have shown in your life. like a king could not have two rules for normal man and his son, that comes under karma.
Oh perfectly said!
Ok. It is also said that when one does something... bad or good..it will come back to you 10 folds of the same.
yea that too ! I remember my mother always said if u stole someone's 10 rupees ur 100 will be stolen ( excuse my English ! I'm a non - English speaking person)
karma is nothing but what one usually mean when they say- what you sow, so shall you reap.
more important.. this concept was told by lord Krishna as part of spirituality, to focus on your good deed ,the purpose you are born for and your responsibilities. Not for hoping that bad will happen with people who made you feel bad. just giving example ;)
karma is the boomerang of your actions. what u put out in the universe u get back
Who is the founder of psychology
Daryl Reply
Wilhelm wundt
Wilhelm Wundt
William wundth
Wilhelm Wundt
and William James
Wilhelm Wundt
Wilhelm Wundt is the founder of structuralism
Yes and also the "Father of Psychology" I think the correct word is Father not Founder.
oh ok. noted
i believe it goes beyond him I believe it is Ancient but un formalized
I like your answer Swarada
Oh thanks! But u summarised it well!
what is up my fellow psych peeps!!
what are some academic research on developmental psychology
Sawrada Founder of Psychology is W.Wundt but Father of Psychology is Sigmund Freud...
what are some good schools to study psychology?
Enjoy Reply
George Mason, Penn State, UVA, university of Michigan
Hi I'm currently doing my experimental psychology research can you suggest a topic or research topic for my research thank you and please see 😊
Jerico Reply
Hello Jerico. I could help you out with some ideas if you're interested!
can u give me some ideas too?
For sure. It depends if you're trying to do an experiment (using statistics probably) or a case study what are you aiming for?
Hello Jerico. Try to opt for something simple and easy to do. I wouls say perhaps study the effects of color on concentration? You could get a group of people and have them take a memory test (you can find some online) in a white room for example. Then have them take another memory test
similar to the first one but in a different room and then you check the responses if the performance is better
but you have to know that a lot of factors will interfere in the performance such as mental state etc so make sure to choose a certain specific population. that's very important
you could be a bit more specific about it , to isolate the variables that can mess it up like age, sex, etc... you gotta take that into account
so that the results get somewhat accurate
that is very detailed information I really like it thank you very much 😊 your so very kind
You're very welcome
what are your interests in general?
Althogh I'm persuing botany and engineering.... but I also want to study human behaviour and psychology.... I would like if anyone can share their knowledge with me !!!!
I'm interested on effect of electroconvulsive therapy on people having a depression
What is Electroconvulsive therapy?
Astral Projection
Electroconvulsive therapy (ECT) is a medical treatment that is most commonly used in patients with severe major depression.
What are the expected dutties functions and responsibilities of a head of an agency based on the principles, Practice of industrial psychology?
Paul Reply
what are the psychological characteristics expected from an employee wether regular or occupying a position?
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Musical signal processing with labview -- programming techniques for audio signal processing. OpenStax CNX. Jul 18, 2007 Download for free at http://cnx.org/content/col10440/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Musical signal processing with labview -- programming techniques for audio signal processing' conversation and receive update notifications?