1
00:00:05,000 --> 00:00:12,000
Today I just show you a running light show using an image.

2
00:00:12,000 --> 00:00:24,000
In this case, I'm just using my Rio Digital pins of port number A, as you see in the hardware.

3
00:00:24,000 --> 00:00:28,000
I just connected using jumper wires.

4
00:00:28,000 --> 00:00:33,000
These are my upper one is my digital pins.

5
00:00:33,000 --> 00:00:39,000
And over here, this black one is my ground and I just create these LEDs.

6
00:00:40,000 --> 00:00:48,000
I just connected these eight LEDs on board on a zero PCB, as you see right now.

7
00:00:48,000 --> 00:00:50,000
I just go to my software part.

8
00:00:50,000 --> 00:00:56,000
You just need to connect the digital pins to the positive pin of Led.

9
00:00:56,000 --> 00:01:00,000
And this is my common ground for all the LEDs.

10
00:01:00,000 --> 00:01:03,000
So right now I just go to my Rio.

11
00:01:03,000 --> 00:01:11,000
In this case, I just need to select digital out pin, as you see over here.

12
00:01:14,000 --> 00:01:15,000
There are two options.

13
00:01:15,000 --> 00:01:17,000
You just go with the Express.

14
00:01:17,000 --> 00:01:23,000
In this case, let's check if you just select a particular single.

15
00:01:24,000 --> 00:01:36,000
Right now, the my all the eight pins digital pins are connected to 032 ten.

16
00:01:37,000 --> 00:01:41,000
As you see, this is my first ID I just select over here.

17
00:01:42,000 --> 00:01:43,000
Press.

18
00:01:43,000 --> 00:01:43,000
Okay.

19
00:01:45,000 --> 00:01:47,000
It is up to you right now.

20
00:01:47,000 --> 00:01:48,000
I just show you two methods.

21
00:01:48,000 --> 00:01:58,000
In this particular case, as you see right now, this is creating for me four digital pin three.

22
00:01:58,000 --> 00:02:08,000
I just create a connection for this particular V, I create a control loop while loop over here to control

23
00:02:08,000 --> 00:02:16,000
this continuously generating the signal, save it, run it, deploy it.

24
00:02:16,000 --> 00:02:25,000
As you see, the code is right now deploying deployment in process when it is completely deployed.

25
00:02:25,000 --> 00:02:31,000
When I just click on this button, as you see, Led goes high.

26
00:02:32,000 --> 00:02:35,000
Okay, on, off, on, off.

27
00:02:35,000 --> 00:02:37,000
This is how you can generate digital signal.

28
00:02:37,000 --> 00:02:41,000
Right now I just show you different methods.

29
00:02:41,000 --> 00:02:43,000
First I show you.

30
00:02:44,000 --> 00:02:50,000
In this case, you just need to copy this multiple times.

31
00:02:51,000 --> 00:02:52,000
One.

32
00:02:55,000 --> 00:03:04,000
Because in this case I just connected eight LEDs and you just need to set the PIN number.

33
00:03:04,000 --> 00:03:11,000
Also, as you see over here, I just need to pin number four for it.

34
00:03:11,000 --> 00:03:14,000
I just show you again.

35
00:03:18,000 --> 00:03:18,000
Control.

36
00:03:18,000 --> 00:03:19,000
Be over here.

37
00:03:20,000 --> 00:03:23,000
Just connect it again.

38
00:03:23,000 --> 00:03:25,000
Just save it.

39
00:03:25,000 --> 00:03:26,000
Run it.

40
00:03:31,000 --> 00:03:35,000
So in this case, I just control two LEDs.

41
00:03:40,000 --> 00:03:48,000
So right now, as you see, Green one is also high off or when just on it, it is turned on.

42
00:03:48,000 --> 00:03:51,000
So now I just stop it.

43
00:03:51,000 --> 00:03:55,000
I just make multiple copies.

44
00:03:58,000 --> 00:03:58,000
Just lock it.

45
00:04:01,000 --> 00:04:02,000
Based allowed.

46
00:04:03,000 --> 00:04:07,000
I need eight digital pins over here.

47
00:04:07,000 --> 00:04:09,000
Okay, so.

48
00:04:13,000 --> 00:04:21,000
I just need to set the pin number also because the three four already use right now.

49
00:04:21,000 --> 00:04:25,000
Five is there because on the hardware it is also connected.

50
00:04:30,000 --> 00:04:34,000
Now, just make a copy of it.

51
00:04:36,000 --> 00:04:38,000
Make a copy of it.

52
00:04:39,000 --> 00:04:45,000
I need to just set the pin number once for digital pins.

53
00:04:45,000 --> 00:04:47,000
Are there now?

54
00:04:47,000 --> 00:04:48,000
Five is there.

55
00:04:48,000 --> 00:04:51,000
I just need to set the pin number.

56
00:04:52,000 --> 00:04:54,000
Just go inside this.

57
00:05:01,000 --> 00:05:02,000
Over here.

58
00:05:02,000 --> 00:05:09,000
You just need to set the pin number that is six digital input output six.

59
00:05:09,000 --> 00:05:10,000
It is set.

60
00:05:12,000 --> 00:05:22,000
Now I just need to do this task for all the Express VI that are available over here.

61
00:05:28,000 --> 00:05:30,000
Then just go for the seventh pin.

62
00:05:36,000 --> 00:05:37,000
Press.

63
00:05:37,000 --> 00:05:37,000
Okay.

64
00:05:45,000 --> 00:05:46,000
PIN number eight.

65
00:05:54,000 --> 00:06:00,000
You can check the pin diagram over the Internet of Mario.

66
00:06:09,000 --> 00:06:11,000
Now PIN number nine.

67
00:06:27,000 --> 00:06:29,000
And last is my PIN number ten.

68
00:06:30,000 --> 00:06:42,000
In this case, I just use digital pin three or pin number 17 of analog port A, not analog port A of

69
00:06:42,000 --> 00:06:43,000
my Rio.

70
00:06:44,000 --> 00:06:46,000
This is my last pin pin number ten.

71
00:06:55,000 --> 00:06:55,000
Best.

72
00:06:55,000 --> 00:06:56,000
Okay.

73
00:06:57,000 --> 00:07:01,000
All the digital pins are configured right now.

74
00:07:01,000 --> 00:07:05,000
I need to just set the controls for it.

75
00:07:06,000 --> 00:07:08,000
So pin number two.

76
00:07:12,000 --> 00:07:12,000
Three.

77
00:07:15,000 --> 00:07:15,000
Four.

78
00:07:17,000 --> 00:07:18,000
Five.

79
00:07:19,000 --> 00:07:20,000
Six.

80
00:07:22,000 --> 00:07:27,000
Seven and last is my eight.

81
00:07:29,000 --> 00:07:35,000
Okay, so over here, I got all the pins.

82
00:07:36,000 --> 00:07:37,000
Rearrange it.

83
00:07:38,000 --> 00:07:40,000
So this is my pin number three.

84
00:07:40,000 --> 00:07:42,000
This is my pin number eight.

85
00:07:42,000 --> 00:07:43,000
Just connect it.

86
00:07:45,000 --> 00:07:47,000
PIN number seven.

87
00:07:50,000 --> 00:07:52,000
PIN number six.

88
00:07:54,000 --> 00:07:56,000
PIN number five.

89
00:07:58,000 --> 00:08:04,000
This is the case when you just manually control your all the LEDs.

90
00:08:07,000 --> 00:08:11,000
Right now I'm just generating eight digital signals.

91
00:08:12,000 --> 00:08:13,000
So just save it.

92
00:08:15,000 --> 00:08:18,000
Deploy the code to the myriad.

93
00:08:20,000 --> 00:08:21,000
As you see.

94
00:08:30,000 --> 00:08:32,000
Deployment in progress.

95
00:08:38,000 --> 00:08:42,000
Then turn on first.

96
00:08:42,000 --> 00:08:52,000
As you see, second, third, fourth, fifth, sixth, seventh, eighth.

97
00:08:53,000 --> 00:08:56,000
All are working as you see right now.

98
00:08:56,000 --> 00:09:01,000
Maybe one led is connections are not right.

99
00:09:01,000 --> 00:09:08,000
So this is how you can generate eight digital signals for particular Led.

100
00:09:08,000 --> 00:09:11,000
If you want to go through a single.

101
00:09:12,000 --> 00:09:16,000
This is the one way you can configure eight digital pins.

102
00:09:17,000 --> 00:09:19,000
I just tell you another way.

103
00:09:19,000 --> 00:09:24,000
So you just go to an again in the my Rio.

104
00:09:26,000 --> 00:09:30,000
This is the simplest way I just use earlier.

105
00:09:30,000 --> 00:09:32,000
Right now I just show you the another method.

106
00:09:33,000 --> 00:09:40,000
In this case, you just need to select multiple pins in the single.

107
00:09:43,000 --> 00:09:43,000
Express.

108
00:09:44,000 --> 00:09:44,000
Okay.

109
00:09:44,000 --> 00:09:50,000
So over here, as you see right now, Digital PIN three.

110
00:09:50,000 --> 00:09:54,000
Selected Digital PIN four.

111
00:09:54,000 --> 00:09:54,000
Selected.

112
00:09:55,000 --> 00:09:58,000
Digital PIN five Selected.

113
00:09:59,000 --> 00:09:59,000
Six.

114
00:10:01,000 --> 00:10:02,000
Selected.

115
00:10:02,000 --> 00:10:02,000
Seven.

116
00:10:02,000 --> 00:10:04,000
Selected eight Selected.

117
00:10:04,000 --> 00:10:05,000
Nine Selected.

118
00:10:05,000 --> 00:10:06,000
Ten selected.

119
00:10:07,000 --> 00:10:10,000
Okay, so this is the another way you just press.

120
00:10:10,000 --> 00:10:11,000
Okay?

121
00:10:11,000 --> 00:10:19,000
In this case, you need multiple signals using single expression.

122
00:10:20,000 --> 00:10:23,000
You just need to create control over here.

123
00:10:23,000 --> 00:10:30,000
Right now I just create a single button and using this single button, I want to control all the LEDs.

124
00:10:30,000 --> 00:10:31,000
Let's check.

125
00:10:36,000 --> 00:10:37,000
Control be.

126
00:10:46,000 --> 00:10:51,000
I want to control all the LEDs using this single button only.

127
00:10:55,000 --> 00:10:56,000
Control.

128
00:10:56,000 --> 00:10:57,000
S save it.

129
00:10:58,000 --> 00:10:59,000
This is the easy method.

130
00:11:00,000 --> 00:11:06,000
In this case, you just need to deploy this.

131
00:11:08,000 --> 00:11:09,000
Run it.

132
00:11:14,000 --> 00:11:16,000
As you see deployment done.

133
00:11:17,000 --> 00:11:18,000
Turn on all the LEDs.

134
00:11:18,000 --> 00:11:22,000
Turn on off, on, off, on.

135
00:11:22,000 --> 00:11:30,000
Maybe the one Led is not working because the ground is not properly connected with this.

136
00:11:31,000 --> 00:11:32,000
I just.

137
00:11:32,000 --> 00:11:33,000
Let's check.

138
00:11:42,000 --> 00:11:48,000
So as you see right now, it is working properly, working.

139
00:11:48,000 --> 00:11:51,000
All the LEDs are running.

140
00:11:52,000 --> 00:11:55,000
So this is how you can control all the LEDs.

141
00:11:55,000 --> 00:12:02,000
Now just create a project running light project.

142
00:12:03,000 --> 00:12:06,000
Let's check first.

143
00:12:06,000 --> 00:12:09,000
In this case, I just add shift registers.

144
00:12:10,000 --> 00:12:14,000
In the shift registers, initially, I just make it true.

145
00:12:14,000 --> 00:12:21,000
Let's say after some time I just make it false

146
00:12:24,000 --> 00:12:29,000
and I just put a control over here.

147
00:12:29,000 --> 00:12:33,000
I just need to control the running speed.

148
00:12:34,000 --> 00:12:39,000
And in this place, I just put a knob.

149
00:12:39,000 --> 00:12:42,000
I want to just replace this using a knob.

150
00:12:44,000 --> 00:12:53,000
And the milliseconds delay is there and the maximum is, let's say one second.

151
00:12:53,000 --> 00:12:54,000
DeLay is there.

152
00:12:58,000 --> 00:13:05,000
Okay, so over here for the running light, I just connect this one over here.

153
00:13:05,000 --> 00:13:07,000
Second one over here.

154
00:13:09,000 --> 00:13:10,000
Third one over here.

155
00:13:11,000 --> 00:13:13,000
Fourth one over here.

156
00:13:14,000 --> 00:13:16,000
Fifth one over here.

157
00:13:17,000 --> 00:13:18,000
Sixth one.

158
00:13:20,000 --> 00:13:21,000
Or you can say one is true.

159
00:13:21,000 --> 00:13:24,000
Another is false, one is true, another is false.

160
00:13:26,000 --> 00:13:34,000
Likewise, I just connect it, minimize it, run it, deploy it before deploying.

161
00:13:34,000 --> 00:13:36,000
It is asking me to save the.

162
00:13:45,000 --> 00:13:46,000
Let's check what happened.

163
00:13:48,000 --> 00:13:50,000
All are in running mode.

164
00:13:52,000 --> 00:13:53,000
As you see.

165
00:13:54,000 --> 00:13:56,000
Speed running.

166
00:13:56,000 --> 00:13:56,000
Speed.

167
00:13:56,000 --> 00:13:57,000
Am changing.

168
00:13:59,000 --> 00:14:05,000
500, 600, one second delay is there red and green?

169
00:14:07,000 --> 00:14:07,000
Somewhat.

170
00:14:08,000 --> 00:14:10,000
Right now, speed.

171
00:14:10,000 --> 00:14:11,000
You just check.

172
00:14:15,000 --> 00:14:16,000
Feed.

173
00:14:18,000 --> 00:14:18,000
Right now.

174
00:14:18,000 --> 00:14:26,000
This is how you can generate digital signals for your applications using express with the help of Express

175
00:14:26,000 --> 00:14:28,000
VI in my video.

176
00:14:29,000 --> 00:14:30,000
Thank you.

