1
00:00:10,000 --> 00:00:11,000
Hello, friends.

2
00:00:11,000 --> 00:00:18,000
Today we discuss about flat sequence structure in lab view for that purpose.

3
00:00:18,000 --> 00:00:22,000
I just go to my structures over here.

4
00:00:22,000 --> 00:00:25,000
This is my flat sequence.

5
00:00:25,000 --> 00:00:28,000
I want to just use a boolean.

6
00:00:29,000 --> 00:00:30,000
I just drag and drop.

7
00:00:30,000 --> 00:00:34,000
One square lady, as you see over here.

8
00:00:35,000 --> 00:00:38,000
And I want to turn it on and off.

9
00:00:38,000 --> 00:00:43,000
And the sequence is controlled by my program for that purpose.

10
00:00:43,000 --> 00:00:50,000
I just go to Boolean and over here this is my not exclusive or so.

11
00:00:50,000 --> 00:01:01,000
Just connect this, create some constant for one input and for the second input I just create a feedback.

12
00:01:01,000 --> 00:01:10,000
And you see over here I also put some delay inside the step frame.

13
00:01:10,000 --> 00:01:12,000
As you see over here.

14
00:01:12,000 --> 00:01:15,000
Let's say it is one second.

15
00:01:16,000 --> 00:01:19,000
1000 milliseconds is equivalent to one second.

16
00:01:19,000 --> 00:01:22,000
So control you as you see.

17
00:01:22,000 --> 00:01:25,000
So let's check what happen over here.

18
00:01:26,000 --> 00:01:30,000
So let's say this is my X, this is my white.

19
00:01:31,000 --> 00:01:35,000
So over here, this is my X and this is my Y.

20
00:01:36,000 --> 00:01:43,000
So initially, let's say value zero, then zero, one, one.

21
00:01:44,000 --> 00:01:50,000
And over here, this is 1010.

22
00:01:50,000 --> 00:01:50,000
Let's say.

23
00:01:51,000 --> 00:02:02,000
And the output of this structure, let's say for the exclusive or the output should be in this case,

24
00:02:02,000 --> 00:02:08,000
it should be one or here this should be zero or here this should be zero.

25
00:02:11,000 --> 00:02:18,000
I just put over here, this is 1001.

26
00:02:18,000 --> 00:02:31,000
But in the case of not exclusive or so, I just put over here, not exclusive or so in that case, my

27
00:02:31,000 --> 00:02:36,000
output should be zero one, one zero.

28
00:02:36,000 --> 00:02:45,000
So as you see over here, let's say in the first case I have over here, false condition.

29
00:02:45,000 --> 00:02:51,000
So when false false is there, it gives me to do passes over here.

30
00:02:51,000 --> 00:02:53,000
When to false is there?

31
00:02:53,000 --> 00:02:56,000
In that case I got false.

32
00:02:56,000 --> 00:02:59,000
So when false, is there false?

33
00:02:59,000 --> 00:02:59,000
False is there.

34
00:02:59,000 --> 00:03:04,000
I got on so that's why it the loops continues.

35
00:03:05,000 --> 00:03:06,000
On off.

36
00:03:06,000 --> 00:03:07,000
On off.

37
00:03:07,000 --> 00:03:08,000
On off.

38
00:03:08,000 --> 00:03:11,000
So let's say I do it for another.

39
00:03:12,000 --> 00:03:21,000
So add frame and I just copy this function, the whole function inside the another frame.

40
00:03:21,000 --> 00:03:25,000
So again, I just add another frame.

41
00:03:25,000 --> 00:03:35,000
I just copy this and I want to put inside the another frame again, I want to do it for, for boolean

42
00:03:35,000 --> 00:03:38,000
LED's as you see.

43
00:03:38,000 --> 00:03:45,000
So I just copy over here you just connect this control you.

44
00:03:49,000 --> 00:03:55,000
So as you see over here, I want to just minimize this function.

45
00:03:58,000 --> 00:04:03,000
As you see, this is not program and I want to run it multiple times.

46
00:04:04,000 --> 00:04:09,000
So I just put y loop over here.

47
00:04:09,000 --> 00:04:13,000
When I stop it, it will stop control e.

48
00:04:13,000 --> 00:04:16,000
So over here, these are my boolean islands.

49
00:04:16,000 --> 00:04:19,000
I want to just make it

50
00:04:23,000 --> 00:04:24,000
easy to understand.

51
00:04:24,000 --> 00:04:25,000
So over here.

52
00:04:26,000 --> 00:04:39,000
So when I hit on run button, as you see right now, after one one second, it will on now all again

53
00:04:39,000 --> 00:04:40,000
on.

54
00:04:41,000 --> 00:04:45,000
So this is how the program works.

55
00:04:47,000 --> 00:04:47,000
Thank you.

