LabVIEW –
BOOLEAN CONTROL AND INDICATOR
In my
previous blog I gave a short intro about LabVIEW
and how make our own program using LabVIEW.
Today we are
going to learn “how to make front panel attractive
by changing the colour of Boolean control and indicator.
It’s
necessary to understand what is control and indicator and how to identify.
Let’s get started.
CONTROL - INPUT
Controls are
used to control the functions, by providing input to the controls in case of a push
button(Boolean control) only two type of signal or command can be provided as
input to the functions “ON”and”OFF”(HIGH
and LOW)
If you see
deep inside the LabVIEW control icon in Block diagram window the arrow mark on
the icon moves outward.
This image
shows the control icon, well I tried to present in the best way as I can.
LabVIEW has
disadvantage regarding Enlargement of functions in Block diagram window. That
means we cannot zoom functions in Block diagram window.
Similar to a
Transmitting Antenna (half duplex mode) LabVIEW controls is used to send data
to the functions.
INDICATOR
– OUTPUT
Indicators
are used to display the output of a function.
Boolean
control uses led for Indication. When the output signal is 1 or HIGH the Led
glows. Or else led is in OFF state.
Indicators
are only for Indication (Boolean) where as other indicator such as Numeric,
Array, String. They display Numeric values, Array elements, and strings.
If you see
deep inside the LabVIEW indicator icon in block diagram window the arrow mark
on the icon moves inside.
Know we are
clear with controls and indicator. I would like show all controls and indicator
present in Boolean function
In this
above image all controls and indicators are attractive and colour full well you
can also use this trick for your LabVIEW project.
Steps
to Change Colour for Boolean controls & indicators
Let’s use Boolean
controls and indicator. We can also use the same for other types or control and
indicators.
Step 1 : Place
your Boolean control (push button).
Step 2 : Right
click on your target control or indicator (push button).
Step 3 : Left click
on properties.
Step 4 : A Boolean
properties window appears on the screen.
Step 5 : We can see
the coloring option which contain two empty boxes
On color and
Off color
Left click
“On color” a color pallet appears choose one of them. For example I choose
red color so when button is ON it’s appears in red color.
Step 6 : Suppose I am
changing the state of the button from ON to OFF condition. Button comes to its
original colour because no colour assigned for off state.
Step 7 : Left click
“OFF colour” a colour pallet appears which assigns colour for the button when
it’s in off state. Here I choose blue colour.
Step 8 : In Boolean property
window “show Boolean text “check box is available. Which displays the present
state of the push button/led. Text colour can also be changed.
Boolean
indicators can also be color by following above procedure.
Well friends
this tutorial ends here if you still have problem in understanding watch videos
in my youTube channel “ANK LAB”.my channel link is given below.
If you like
my blog and my youtube videos don’t forget to like share comment and subscribe.
Support my blog and my channel so that I can come up with new ideas.
What’s next?
In my next
blog/youtube video I will explain different type of Boolean functions and how
to use then (practical demonstrations also included)
Well some
time in my blog/ videos I may split up in two or more sub-topic to make content
sort and simple. Stay with me and support me. Feel free to ask questions.
Friends don’t forget to like, share and subscribe.
No comments:
Post a Comment