Tip:
Highlight text to annotate it
X
Hey, I'm Chris and I'm going to show you how to build a custom user interface using LabVIEW
for your data acquisition applications.
So LabVIEW makes it very easy to build custom user interfaces by simply
dragging and dropping controls and indicators on your front panel.
so if we switch over to LabVIEW
you'll see I've already dropped my DAQ assistant where I'll be acquiring my data,
and to display that data I can right-click my front panel
and select a graph indicator to display the data.
You'll notice that when I place that control on my front panel
a corresponding terminal will be displayed on the block diagram.
And so I can wire the output of my DAQ assistant to that control,
and you'll see that when I run the application the data is displayed on the front panel.
So in addition to waveform graphs we can also drag-and-drop other controls
like basic numeric controls
or a basic numeric indicator
or we can even add fancier numeric controls like a pointer or a ***
or fancier numeric indicators
like a guage
or even a thermometer.
In addition we can add Boolean controls such as buttons and toggle switches
and Boolean indicators such as a square or round LED,
and again for each of these controls
you'll see it's created a corresponding terminal on the block diagram
so if I wire each control to its corresponding indicator
and then I run the VI,
you can see that when I change the control
the values on the indicators are changed as well.
In addition, we can also organize our controls and indicators using containers.
So if I right-click my block diagram,
I can go to the containers palette
and I'll use a tab control
to organize all my controls and indicators.
So I'm going to put the waveform graph on the first tab,
and then I can select the remainder of my controls
and placed them in the second tab.
So now when I run the VI
you can see I have my waveform graph in the first tab
and I can switch over and the remainder of the controls are in the second tab.
LabVIEW also allows you to customize each individual control.
So we can use the tools palette,
and we can change the color of certain controls,
or we can even make parts of controls transparent
so that it better flows with the rest of our design.
And that's how you build custom user-interfaces using LabVIEW
for your data acquisition applications.