1
00:00:05,000 --> 00:00:06,000
Good morning.

2
00:00:07,000 --> 00:00:17,000
Today, I will tell you the making process using state machine in Libya and making basically we have

3
00:00:18,000 --> 00:00:26,000
first start our program, then we have to put Baker on the burner of the gas.

4
00:00:26,000 --> 00:00:28,000
Then we have to turn on the gas.

5
00:00:29,000 --> 00:00:41,000
After that, we have to add water to our vehicle and then add the president after that, our sugar and

6
00:00:41,000 --> 00:00:43,000
at last add to it.

7
00:00:44,000 --> 00:00:49,000
And if you want to add some in ingredients, add them.

8
00:00:50,000 --> 00:01:02,000
And after a delayed time of around 10 minutes or five minutes, you have to stop your program and your

9
00:01:02,000 --> 00:01:03,000
tea's ready.

10
00:01:04,000 --> 00:01:18,000
So I just go to our program in this state machine and we have first hour and.

11
00:01:21,000 --> 00:01:24,000
Which contain start initially.

12
00:01:25,000 --> 00:01:27,000
And I just it.

13
00:01:30,000 --> 00:01:36,000
And in this, I have to add ingredients.

14
00:01:44,000 --> 00:01:44,000
Then.

15
00:01:47,000 --> 00:01:47,000
Before this

16
00:01:51,000 --> 00:01:52,000
before this

17
00:01:55,000 --> 00:01:59,000
be before this water

18
00:02:02,000 --> 00:02:03,000
turned gas.

19
00:02:09,000 --> 00:02:10,000
Put Baker on Barnat.

20
00:02:19,000 --> 00:02:36,000
OK, and I have to move this up and start bootmaker down on gas, water to New Orleans and at last we

21
00:02:36,000 --> 00:02:43,000
have to put a stop to it and this would be tough.

22
00:02:44,000 --> 00:02:51,000
So this is my and in this case now, I just got a while loop over here.

23
00:02:54,000 --> 00:03:01,000
And I use a case structure, which is the basic building blocks.

24
00:03:01,000 --> 00:03:08,000
These are the basic building blocks of a spirit machine program you just replace with separators.

25
00:03:09,000 --> 00:03:24,000
So here it is, dark and then beaker and case after case after case after case after they were lost,

26
00:03:24,000 --> 00:03:25,000
case reached.

27
00:03:27,000 --> 00:03:29,000
So this is my last case.

28
00:03:29,000 --> 00:03:34,000
And just to go to our first case, so start.

29
00:03:35,000 --> 00:03:43,000
And in this case, I just connect this.

30
00:03:44,000 --> 00:03:57,000
So in the start, it will go to our next process, which is what we call, and it goes to the next stage,

31
00:03:57,000 --> 00:04:01,000
which is done on the gas then

32
00:04:04,000 --> 00:04:05,000
and done on the gas.

33
00:04:06,000 --> 00:04:08,000
It will go to the water.

34
00:04:13,000 --> 00:04:15,000
So over here, water.

35
00:04:16,000 --> 00:04:30,000
And then when it goes to water, it goes to at the and then it goes to pee.

36
00:04:31,000 --> 00:04:41,000
It will go to the next stage, which is and and it goes to add milk.

37
00:04:44,000 --> 00:04:56,000
So we go to Ireland ingredients and after adding ingredients to stop.

38
00:05:01,000 --> 00:05:06,000
And over here, it should wait for five minutes like.

39
00:05:09,000 --> 00:05:19,000
So I just put five hundred milliseconds in this case, I just wait for five seconds in place of five

40
00:05:19,000 --> 00:05:21,000
minutes, so.

41
00:05:21,000 --> 00:05:34,000
And over here in different processes, I just put a delay of five hundred milliseconds so that I can

42
00:05:34,000 --> 00:05:40,000
check the process which processes running at that time.

43
00:05:42,000 --> 00:05:43,000
And then it goes to stop.

44
00:05:44,000 --> 00:05:49,000
I just put it to and this and connect to this.

45
00:05:50,000 --> 00:05:57,000
So just use default and what had been used before.

46
00:05:58,000 --> 00:06:03,000
So this is my process and it should be.

47
00:06:05,000 --> 00:06:14,000
On labor and on half the size will be increased so that we can check the process.

48
00:06:16,000 --> 00:06:17,000
And.

49
00:06:21,000 --> 00:06:24,000
Or here justify.

50
00:06:25,000 --> 00:06:25,000
And the movie.

51
00:06:27,000 --> 00:06:29,000
I guess so when I.

52
00:06:32,000 --> 00:06:33,000
From this.

53
00:06:34,000 --> 00:06:35,000
It's dark.

54
00:06:36,000 --> 00:06:42,000
As you see, and when he gets out of there, it will work for five seconds and after that program will.

55
00:06:44,000 --> 00:06:45,000
Again, why?

56
00:06:46,000 --> 00:06:49,000
Because there is an error in this.

57
00:06:51,000 --> 00:07:01,000
You have to just after ingredients, it goes to stock, you have no place to stop.

58
00:07:02,000 --> 00:07:03,000
So this is the error.

59
00:07:03,000 --> 00:07:06,000
So when I hit on one button again.

60
00:07:07,000 --> 00:07:12,000
So after ingredients wait for five seconds and then it will stop automatically.

61
00:07:14,000 --> 00:07:24,000
As you see, so this is the case of a state machine in the making process in this area.

62
00:07:24,000 --> 00:07:32,000
Right now I just put this one in this you have to just for pure data acquisition card, you have to

63
00:07:32,000 --> 00:07:37,000
put a command to output just to put a beaker on that.

64
00:07:37,000 --> 00:07:47,000
Then some robotic mechanism is there, which will on your gas over there, basically, you have to put

65
00:07:47,000 --> 00:07:57,000
your data creation mode, which will generate commands for your system, be able to put these commands

66
00:07:57,000 --> 00:07:58,000
over here.

67
00:07:58,000 --> 00:08:03,000
So this is the example of a policy making process using state machine.

68
00:08:04,000 --> 00:08:04,000
Thank you.

