Good morning.
Today, we'll discuss about numeric Belet in Leffew but is the basic pilot.
After.
Starting with the Luvox hour introduction, we go to our first ballot, which is numeric ballot.
So here is my ballot, you can at it using this.
So here this is my programming window.
You can say look like and this is my front ballot in this numeric ballot.
We have different mathematical operations like add, subtract, multiply, divide.
So one by one I will discuss everyone.
So first I create a program to add two numbers.
So I just create a control then over here.
Right.
And create another control.
So here is my X variable, which is my floating orange color in all easy floating type.
And why also uploading and you can change it also.
So go to just representation.
So here is different notations or formats like it is double precision.
It is a 32 integer 32 it is.
The third is 16.
Ayyad basically 32 is the range of this number.
It is to raise to 32 to which it can Mazher or whatever it is given zero to 31 its range.
So over here I create the data.
So this is my basic LabView program of additions in LabView.
Using this highlighter execution, you can check the data flow and level.
The data flow is always from left to right.
So then I put some value in this like this and when I hit on one button.
So from here, for you and for me, nine.
So this is the basic level program.
In addition, you need not to consider any precautions like you can add X plus why your Y plus X mode
will give you the same result.
But in case of subtraction, you have to check which one is your X and which one is you are Y because
X minus Y, Y, Y minus X gives you different results.
So this is the case and the same case applied in multiplication X into Y or Y into X gives you the same
result, but X upon by inviable next gives you different results.
So these are the four nodes, these, this one is called node, OK.
This one is our indicator and this one is our control.
So right now our next part in numeric Belad is quotient and the window.
In this case you got a floating value, which is like three, right?
It is.
It gives you one point five.
But if you want to check the remainder and quotient differently for a case like this or hear this in
my control.
This is my control for way and over here, I have input history, and this has to and in this case,
here is my indicator, which gives me the window and this will give me the caution.
OK, so then I don't run, but it gives me one.
One.
As you see, and when I change it to five.
Caution is two and again one, so using this, you can use this palette so I can cover every part of
this numeric palette.
So this is my first throw.
And in this case, you can convert your one part of data to another part.
Like if you want to convert boolean number to Malanda number or number two, boolean or boolean areata
number, you can convert using this.
I will make an example of this also.
So this is the increment.
If you want to increment by one your value, you can use this.
If you want to decrease the.
You can use this.
It will make this function.
Add every element.
So first, you know, down how to create an array.
So first I create a blank area.
So over here, this is my array blanket.
And in this I put it control, as you see.
And in this area I take four values like four, three, four, seven and eight.
And I want to use that function of every add element so it will add all the element.
Like you have to connect this and it will give you a.
Scalar value, like in this case, when I hit one button, it will add all the values, so Total is
going to learn all the elements so you can use this to add the element.
So next hour, multiply at 11.
So I just use this and already created a connector and this one gives the product of any functions.
So like I don't Dunbarton here is the product of all 14 to three to four to 17 do it.
OK, so now we go to our next function.
It is a very important function in LabView.
It is compound in already created functions like add, subtract, multiply.
You have only two inputs.
As you see in this case, you have only two inputs, inputs or here input if we want to add three elements
so we can choose this type of function.
So first two and this one it will give me.
In this case I will add three elements.
So for that purpose, I use three addition blocks.
So to remove this part, I just use compound element.
And in this you can add as many as inputs like in this case.
So over here in this compound, there are more functions like addition, multiplication and or.
This is the basic functions you can use.
Using this.
You can find out your operations, both many inputs, like if you want to add the temperature of two
buildings, then our three buildings.
You can use this for multiple inputs.
You can use compound automatic function.
And in this total, five.
Operations out of there and multiplication and or exel, this is these are the basic or universal functions
using this, you can perform any operation.
So this is the compound, as you see a great example of this.
Like in this case, I have a numeric so that I use.
For input's.
And one out of.
Control, you will minimize the function.
And in this, I just put the value like five, four, five, two.
It will add all the values like in this case, the total result is 16.
And when I changed our mode, the multiplication, this result is also change.
Like in this case it is two hundred.
So this is the function of compound.
And Bulan will explain in next section.
So over here, this is absolute value.
I just take it and control it.
It will return our absolute value about X like.
In this case, I create a control order here and I just put.
This value, three point total and more here, I have data that will give me three point do so absolute
value is.
You can find out, like in this case, I just put a negative sign over here, and when I don't unbutton,
it will give me absolute value.
OK, more of X, I guess you get the value.
So this is the absolute value.
Then if you go round to nearest.
So in this case, I take the same value.
But over here, it is like three point two and.
Round to the nearest value.
Create indicator.
So when I hit bottom, it gives me three.
So I just in place of three, I continuously run.
I will check the value.
Give me three point three.
In the case, it will also give me three three point four and give me three three point five million.
It'll give me four.
So when I.
But over here, like for in this case, again, it gave me three when I increased this value to five.
So it gave me, again, three.
For.
Or here again, the value is three eight three nine, the value is three, if it is three point five,
then it is for you have to knock down this value like in this case, again, three point five.
It is not for it is three.
So when I increase this three point six.
It is for.
So when I put three point five again for three point four, it is for.
Not for it is three, so when I put nine over here, the value is.
But when the value is.
Three point five, the value is four, so this is nearest integer value and use this function, then
we have another function around two hours negative infinity.
It will give you always.
Te.
In this case, when I continue on this.
So we're here three when I increase this, six, seven, eight, nine.
It gave me only three because it is.
Like towards negative infinity, and when you want positive in that case, first I have to stop the
program.
So when I used to supposed to be when we have three point one, it will give me for like when I put
over here.
Three point one that will give me four in this case.
As you see, OK, so these are the different functions now I.
And the pilot execution, so that my program is first, so now we discuss about these functions, then
we go to lower scale by power of two, if you want to hear is my and.
This is a function and this is my.
Another function in this case, X and M. X is due to X into two days to end and it will give me x rays
to two.
And as you see, first I this all.
So over here, I put to.
And this is my five, so it gave me two in two to four in five.
As you see, X and two means five and two do two is the power.
It is the power of two as I increase this.
Three, it gave me eight to five.
Forty, as you see, this is the power of look so scale by power of two.
Then we go to our data manipulation.
In this case, you use these functions like eight left with these functions are used in microprocessor.
Or if you want to rotate your function, you can use these functions for data manipulation.
Then we have complex functions.
I can use any of these like facilities.
So here is my complex conjugate.
First create and then it will create and later it will give me the complex conjugate.
So when I put the value like two and two, three, two plus three, I think it will give me two minus
three.
That is the complex conjugate.
Then we have poller to complex.
Like in this case you have to put the value of various.
And to.
It will generate.
Uh, complex, no, like in this case, Audie's do and this history that will generate this.
Minus one point nine plus this.
So this is the case of complex.
You can also convert your complex function to like in this case, I have a complex number, this one,
which is two plus three data that we gave me, the radius value and value.
So when I hit on one button.
So these three point six entities, eight point nine eight in this case, so using these functions,
you can create your complex number and you can work complex to conjugate, conjugate to complex or poller
to complex or complex to or real part of imaginary part to poller or poller to real or imaginary.
You can convert any of these.
So this is the part of complex number.
Then we go to square root if you want to.
Find out the square root of any number like.
I just pick this girl.
Create control.
This is the indicator, and when I want to find out the scale of sex, it will give me a little point
four four nine four six.
And also, you can change the digit value also like the display format.
Just click on this and in this case is six digit, if you want more, you can get any value, like over
here can increase.
OK, so this is the case of skittled.
I just read this.
According to this, you can find out your share nugget if you want to negate the value, if you want
to find out the reciprocal of some value and if you want to the like in this case, if you have a number.
And we have indicated if I put zero.
Like, do it, give me minus one, because in this case, the range is minus one zero and one, if I
put minus two over here, it will give me my.
Minus one, if over here it is.
It is one so extreme limit is minus one.
In active case and one in positive case, if I would have zero point five in this case, but give me
one, OK?
And when I put minus point five, minus one, as you see, so this is the higher limit and this is the
lower end of S..
So this is the scaling part over here.
If you have any sensor and you want to convert your temperature detector reading, you can use this
by hand.
If you want to convert strangulating, you can use this one.
If you want to convert thermostat readings, you can use this one.
This is in Bolivia and Levu.
And if you want to convert your readings from degree to radiant and radiant degree or radiant, pulsating
or radiant RPM, you can use these functions.
These are the inbuilt functions in life in Nomadic.
So then we go to some other part here.
This is the nomadic integer type content.
This is the enum constant.
So over here you can create any integer type.
Like in this case I just put some value first.
Right.
Click on this added items.
You can put anything in this like I in this case insert like I put the value.
Sam.
Sam, then we have from then we have.
Another.
OK, you can insert any value and according to this will work.
So this is that and I'm confident you can use this in your program.
Basically, this is using state machine programs.
Then we have constant.
We're here again if you control.
On this.
There is no description available about this.
I will tell you in further analysis what is remained constant.
So over here we have a random number.
This random number regenerate the values from zero to one.
Any value from zero to one, like zero point four five six zero point three four five.
So this is equivalent to AT&T Command and command in Matlab, another random number.
In this case, you can set the range upper limit and lower the limit.
And also you can change the formatting or representation like you 64.
I'm saying no u stands for I'm saying no integer sixty four or maybe floating by.
OK, so we're here like example.
In this case I create a control.
Thirty four hundred.
Again, I put a hundred in this case, it will generate integer value because.
They said to A.J., if you want to convert the floating Bible, you can select the will.
So when I hit bottom, it will generate a value from zero to one hundred between like 53.
And if you change this value to in this case, the values change any value current value.
OK, so this is the case of random numbers.
Then we have fixed point.
You can use four to explain to integer cost or integer cost to fixed point.
You can use these function.
These are rarely used in basic programming.
So then we have here we have integer content here we have floating Gornstein Escalades Orange, then
we have some content like doing Infinity in the upsilon, not a no constant.
In this case you can.
But any value like that is not a number and then not a number constant and another constant like buy
to buy, buy.
Why do these are the fakes constant already created, in my view, you can use directly in your program.
So these are.
And most important.
Part of it is expression, if you want to hear the expression in which you have only one expression,
like one variable, not expression, one variable, like a sign of X, sign of X and sign of X Y two,
and to sign off X by four in the course of X, then you use this function like.
Sign-off.
Ex.
Entel.
Sign-off.
X, y for.
To.
Sign-off.
Exabyte to.
So it will give you the value to create control and or in there so you can create your expression or
here you can put the value of X that will give you the value.
OK, you can use this nomadic palette for your.
Expection, so this is all about nomadic and level you can use or you can create any mathematical expression
using this or you can create any equation using this.
OK, so this is the part of functional.
Functional belet, and in which programming we haven't built in the next part, they will discuss about
Bulan.
OK, thank you.