Hello, friends.
Today we discuss another problem for player sequence.
Let's go with the problem.
I just drag and drop of flight sequence over here.
And in this sequence, I just create a y loop over here
and I just create control.
And this control is connected to the edge.
And over here, I just add another frame.
Now, just delete this.
And over here, I want to put an LED.
Let's say this is my lady connected.
Okay.
Now, I also use
a constant over here, and I want to increment this.
When this frame executes, it will give me that first frame is executed.
And over here, I just create an indicator for this.
That first frame is executed.
And I also want to check how many times it is executed.
So over here inside.
So this is my for first frame
first.
Great.
And then I also use increment inside another frame and this value goes over here.
And this is my second frame.
This is my second frame.
And I just copy this
all function inside this and connect this to the edge of this and also add another frame of this.
And over here, I just follow the same process put over here and over here.
I want to create another boolean boolean to this says my boolean to and this will be connected to the
edge of this.
Let's control you to minimize the space.
Go over here.
And I also want to increment this value.
It is for the third frame.
Connect to the edge.
Copy this.
This is my third frame.
And over here I go to the value and let's add one more frame.
Just delete this, copy this
and add this.
And this is my fourth.
Quote three.
So now I again, I want to create bowling alley three and the bowling alley three is connected to this
frame.
So now just check what happened over here and let this control you.
So as you see, initially the value is zero.
This first frame will be executed first.
And when I hit on stop button, it will create a signal while loop stops.
It will pass the value through to the bowling ball and it goes on.
Now we enter to the second frame over here.
This is the value is one.
One plus one goes to in the second frame.
And over here until we press stop.
Two, it will stay over here.
When we click on Stop two, it will generate a true function.
It will pass on this and we enter to the third frame.
So over here the bowling two goes high.
And right now, according to these, we will pass from this to this, this to this, this to this frame.
So let's check.
So over here, this is my Boolean three.
This is Boolean two and this is Boolean one.
And the values of the frame.
This is my first frame.
This is my second frame.
Then we enter to the second frame.
My lady.
This lady goes high.
And over here, I just put it over here.
Just arrange these.
Okay.
So just put below this,
this, below this.
And over here, this is the control
group.
Okay.
So when I hit on this button, stop.
My frame goes from zero to frame one to frame two.
Switching depends on this, this, this.
So when I hit on run button, as you see, just go to the window.
As you see, I am over here.
And as you see, I am staying in the frame one.
It is 000.
So when I hit on this button, as you see, when I go on goes on and I got I am entered to the second
frame.
When I hit on stop two, I enter to the third frame.
As you see, I am in third frame.
When I hit on stop three, I enter to the next frame and to stop the whole program I need one stop button
that is over here.
So when I hit on this button, my program will stop automatically.
Right now it is running.
So when I hit on this, as you see, it goes off.
So this is how this flat sequence works.
Thank you.