1
00:00:16,000 --> 00:00:27,000
Students, today I just show you how to interface different Nidec devices with Matlab.

2
00:00:27,000 --> 00:00:39,000
Or you can say, I just aware you all about the data acquisition toolbox that is available inside Matlab

3
00:00:39,000 --> 00:00:39,000
workshop.

4
00:00:40,000 --> 00:00:47,000
So to interface an I deck devices, it may be an I USB 6001.

5
00:00:47,000 --> 00:00:59,000
It may be an I USB 6008 6009 with With Matlab, you just need a data acquisition toolbox that is already

6
00:00:59,000 --> 00:01:03,000
available in any, uh, Matlab workshop.

7
00:01:04,000 --> 00:01:11,000
Other than this, you just need a knee measurement and automation explorer.

8
00:01:11,000 --> 00:01:23,000
I just show you how you can do this or how to interface an AI device or an AI deck card for data acquisition

9
00:01:23,000 --> 00:01:26,000
and data generation with Matlab.

10
00:01:26,000 --> 00:01:30,000
So first of all, we just need to open your Matlab software.

11
00:01:31,000 --> 00:01:35,000
As you see, I already opened this over here.

12
00:01:35,000 --> 00:01:36,000
In the add on device.

13
00:01:36,000 --> 00:01:42,000
You just click over here get hardware support packages.

14
00:01:43,000 --> 00:01:45,000
So you just need to click over here.

15
00:01:45,000 --> 00:01:50,000
In this case internet availability should be there.

16
00:01:53,000 --> 00:01:59,000
So over here you just check different hardware devices.

17
00:01:59,000 --> 00:02:07,000
As you see in my particular case Arduino softwares are installed in my system.

18
00:02:07,000 --> 00:02:13,000
So over here in the search box you just need to type data acquisition.

19
00:02:16,000 --> 00:02:21,000
I just need to put data acquisition toolbox.

20
00:02:21,000 --> 00:02:28,000
As you see over here, in my case it is already installed in my system.

21
00:02:28,000 --> 00:02:34,000
So this is the toolbox that is available with the MathWorks.

22
00:02:34,000 --> 00:02:37,000
So we just need to install this.

23
00:02:37,000 --> 00:02:39,000
Click over here.

24
00:02:39,000 --> 00:02:44,000
As you see in my case as you see it is already installed.

25
00:02:44,000 --> 00:02:47,000
You can manage it after installation.

26
00:02:48,000 --> 00:02:53,000
You can uninstall it or you can update it.

27
00:02:53,000 --> 00:02:55,000
So right now I just close this.

28
00:02:56,000 --> 00:03:03,000
So this is the first task you just need to install Detection Toolbox in your library.

29
00:03:03,000 --> 00:03:08,000
So you just need to open from here.

30
00:03:08,000 --> 00:03:09,000
Simulink.

31
00:03:09,000 --> 00:03:13,000
I already open a new window.

32
00:03:13,000 --> 00:03:18,000
You just go to a blank window inside the Simulink.

33
00:03:20,000 --> 00:03:29,000
So when a blank model is there in the library, you just find out different data acquisition toolbox

34
00:03:30,000 --> 00:03:33,000
that is inside the Matlab.

35
00:03:33,000 --> 00:03:37,000
So it will take some time in between.

36
00:03:37,000 --> 00:03:39,000
I just close this window.

37
00:03:42,000 --> 00:03:44,000
It is not required right now.

38
00:03:46,000 --> 00:03:50,000
It will take according to your system.

39
00:03:52,000 --> 00:03:57,000
So first task is just install a toolbox inside the Matlab.

40
00:03:58,000 --> 00:04:04,000
The second task is you just need to go to any package manager.

41
00:04:06,000 --> 00:04:08,000
Any package manager.

42
00:04:13,000 --> 00:04:15,000
This one is the AI Package manager.

43
00:04:16,000 --> 00:04:18,000
Just click over here.

44
00:04:18,000 --> 00:04:21,000
It is a six MB file.

45
00:04:22,000 --> 00:04:27,000
You just need to download it and install in your system.

46
00:04:29,000 --> 00:04:32,000
In my case, I already have an IBM.

47
00:04:32,000 --> 00:04:37,000
I just click as you see and I package manager is there.

48
00:04:38,000 --> 00:04:44,000
I just need to open this 5.88 and the file is there.

49
00:04:46,000 --> 00:04:52,000
So I just minimize this one and I package manager is there.

50
00:04:53,000 --> 00:05:00,000
So in between I just show you the library browser the toolbox that is related to data acquisition tool

51
00:05:00,000 --> 00:05:02,000
box I just show you.

52
00:05:07,000 --> 00:05:07,000
Over here.

53
00:05:08,000 --> 00:05:14,000
As you see, there is a tool box that is related to data acquisition tool box.

54
00:05:14,000 --> 00:05:18,000
It is related to National Instruments products only.

55
00:05:18,000 --> 00:05:21,000
As you see over here, it is for analog input.

56
00:05:21,000 --> 00:05:30,000
Using this you can acquire data from any sensors that is in the form of analog.

57
00:05:30,000 --> 00:05:35,000
Over here you can get single input.

58
00:05:36,000 --> 00:05:39,000
Over here you can get multiple inputs.

59
00:05:39,000 --> 00:05:41,000
Over here you can get single input.

60
00:05:41,000 --> 00:05:44,000
And this is for analog output.

61
00:05:44,000 --> 00:05:50,000
Let's say you want to generate some five volt signal seven volt signal, three volt signal to the outside

62
00:05:50,000 --> 00:05:50,000
world.

63
00:05:51,000 --> 00:05:53,000
Okay, 3.5V signal.

64
00:05:53,000 --> 00:06:00,000
Using this you can generate because on the DAC devices there are two output signals.

65
00:06:00,000 --> 00:06:03,000
Analog output signals are there.

66
00:06:03,000 --> 00:06:10,000
Or here as you see this is digital analog output signal sample.

67
00:06:10,000 --> 00:06:19,000
This is for digital input If you want to get a digital signal like 0 or 1.

68
00:06:19,000 --> 00:06:25,000
In that case you just use this in the coming upcoming videos, I just show you how to use these toolbox.

69
00:06:25,000 --> 00:06:28,000
And over here this is your digital output.

70
00:06:28,000 --> 00:06:34,000
In the case of National Instrument, there are 6001 or 6000 8 or 9.

71
00:06:34,000 --> 00:06:39,000
There are 13 pins are available in the form of three ports.

72
00:06:39,000 --> 00:06:42,000
Okay, so these are the toolbox.

73
00:06:42,000 --> 00:06:51,000
Now I just go to the and I package manager or here you just need to search for backpacks.

74
00:06:53,000 --> 00:07:03,000
Because when you just connect your new device with your system there are no drivers installed in your

75
00:07:03,000 --> 00:07:04,000
system.

76
00:07:04,000 --> 00:07:06,000
So this.

77
00:07:06,000 --> 00:07:09,000
I need Mac's toolbox.

78
00:07:10,000 --> 00:07:19,000
It will install necessary drivers for the DAC devices or data acquisition devices.

79
00:07:19,000 --> 00:07:22,000
You just need to install this one into your system.

80
00:07:22,000 --> 00:07:24,000
Right now I just close it.

81
00:07:24,000 --> 00:07:27,000
It hardly takes ten minutes.

82
00:07:27,000 --> 00:07:34,000
So first you need to install that max detection toolbox inside the Matlab.

83
00:07:34,000 --> 00:07:39,000
Second, from the new package manager you just need to install that max toolbox.

84
00:07:39,000 --> 00:07:40,000
Okay.

85
00:07:40,000 --> 00:07:46,000
So then you just connect your device with your system.

86
00:07:47,000 --> 00:07:57,000
Let's say in my case I just connect one device that is an I USB 6001 that card with the PC.

87
00:07:57,000 --> 00:08:00,000
So I want to check it is connected or not.

88
00:08:00,000 --> 00:08:09,000
So for that purpose you just go to an Imax, then you just install an I mac back Max.

89
00:08:10,000 --> 00:08:16,000
This file also this application also installed into your system.

90
00:08:18,000 --> 00:08:21,000
Measurement and automation explorer.

91
00:08:21,000 --> 00:08:25,000
It is called Measurement and Automation Explorer.

92
00:08:25,000 --> 00:08:26,000
That is max.

93
00:08:27,000 --> 00:08:34,000
So it will show you the device that is connected to your system.

94
00:08:35,000 --> 00:08:36,000
I just show you.

95
00:08:42,000 --> 00:08:50,000
Friends, as you see over here, this measurement and automation Explorer will show you.

96
00:08:51,000 --> 00:08:54,000
It will show you the details of your PC.

97
00:08:54,000 --> 00:09:03,000
As you see in this case, which operating system is there and what is the physical memory of your system.

98
00:09:03,000 --> 00:09:09,000
So if you want to check the device connected to your system, you just go to Device and interface over

99
00:09:09,000 --> 00:09:10,000
here.

100
00:09:10,000 --> 00:09:15,000
This is my device and this is simulated device.

101
00:09:15,000 --> 00:09:17,000
Virtual device I just delete this one.

102
00:09:20,000 --> 00:09:23,000
So I just disconnect my device.

103
00:09:23,000 --> 00:09:31,000
As you see over here, there is a broken arrow over here when I just connect this again, it will go

104
00:09:32,000 --> 00:09:32,000
over here.

105
00:09:32,000 --> 00:09:35,000
This is the model number and a USB 6001.

106
00:09:35,000 --> 00:09:41,000
And this is the serial number 0184268.

107
00:09:41,000 --> 00:09:44,000
This is the device connected to my system.

108
00:09:44,000 --> 00:09:48,000
This is the hardware device that is connected to my system.

109
00:09:48,000 --> 00:09:50,000
So this is the first part.

110
00:09:50,000 --> 00:09:53,000
How to connect.

111
00:09:53,000 --> 00:09:55,000
How how to interface.

112
00:09:55,000 --> 00:09:59,000
Uh, and I that device with Matlab software.

113
00:09:59,000 --> 00:10:08,000
In the upcoming videos, I just show you how to acquire how to generate digital and analog data using

114
00:10:09,000 --> 00:10:13,000
Matlab with the help of an I.

115
00:10:13,000 --> 00:10:13,000
Descartes.

116
00:10:14,000 --> 00:10:15,000
Thank you.

