Good morning.
Today, I will tell you the making process using state machine in Libya and making basically we have
first start our program, then we have to put Baker on the burner of the gas.
Then we have to turn on the gas.
After that, we have to add water to our vehicle and then add the president after that, our sugar and
at last add to it.
And if you want to add some in ingredients, add them.
And after a delayed time of around 10 minutes or five minutes, you have to stop your program and your
tea's ready.
So I just go to our program in this state machine and we have first hour and.
Which contain start initially.
And I just it.
And in this, I have to add ingredients.
Then.
Before this
before this
be before this water
turned gas.
Put Baker on Barnat.
OK, and I have to move this up and start bootmaker down on gas, water to New Orleans and at last we
have to put a stop to it and this would be tough.
So this is my and in this case now, I just got a while loop over here.
And I use a case structure, which is the basic building blocks.
These are the basic building blocks of a spirit machine program you just replace with separators.
So here it is, dark and then beaker and case after case after case after case after they were lost,
case reached.
So this is my last case.
And just to go to our first case, so start.
And in this case, I just connect this.
So in the start, it will go to our next process, which is what we call, and it goes to the next stage,
which is done on the gas then
and done on the gas.
It will go to the water.
So over here, water.
And then when it goes to water, it goes to at the and then it goes to pee.
It will go to the next stage, which is and and it goes to add milk.
So we go to Ireland ingredients and after adding ingredients to stop.
And over here, it should wait for five minutes like.
So I just put five hundred milliseconds in this case, I just wait for five seconds in place of five
minutes, so.
And over here in different processes, I just put a delay of five hundred milliseconds so that I can
check the process which processes running at that time.
And then it goes to stop.
I just put it to and this and connect to this.
So just use default and what had been used before.
So this is my process and it should be.
On labor and on half the size will be increased so that we can check the process.
And.
Or here justify.
And the movie.
I guess so when I.
From this.
It's dark.
As you see, and when he gets out of there, it will work for five seconds and after that program will.
Again, why?
Because there is an error in this.
You have to just after ingredients, it goes to stock, you have no place to stop.
So this is the error.
So when I hit on one button again.
So after ingredients wait for five seconds and then it will stop automatically.
As you see, so this is the case of a state machine in the making process in this area.
Right now I just put this one in this you have to just for pure data acquisition card, you have to
put a command to output just to put a beaker on that.
Then some robotic mechanism is there, which will on your gas over there, basically, you have to put
your data creation mode, which will generate commands for your system, be able to put these commands
over here.
So this is the example of a policy making process using state machine.
Thank you.