Students, today I just show you how to interface different Nidec devices with Matlab.
Or you can say, I just aware you all about the data acquisition toolbox that is available inside Matlab
workshop.
So to interface an I deck devices, it may be an I USB 6001.
It may be an I USB 6008 6009 with With Matlab, you just need a data acquisition toolbox that is already
available in any, uh, Matlab workshop.
Other than this, you just need a knee measurement and automation explorer.
I just show you how you can do this or how to interface an AI device or an AI deck card for data acquisition
and data generation with Matlab.
So first of all, we just need to open your Matlab software.
As you see, I already opened this over here.
In the add on device.
You just click over here get hardware support packages.
So you just need to click over here.
In this case internet availability should be there.
So over here you just check different hardware devices.
As you see in my particular case Arduino softwares are installed in my system.
So over here in the search box you just need to type data acquisition.
I just need to put data acquisition toolbox.
As you see over here, in my case it is already installed in my system.
So this is the toolbox that is available with the MathWorks.
So we just need to install this.
Click over here.
As you see in my case as you see it is already installed.
You can manage it after installation.
You can uninstall it or you can update it.
So right now I just close this.
So this is the first task you just need to install Detection Toolbox in your library.
So you just need to open from here.
Simulink.
I already open a new window.
You just go to a blank window inside the Simulink.
So when a blank model is there in the library, you just find out different data acquisition toolbox
that is inside the Matlab.
So it will take some time in between.
I just close this window.
It is not required right now.
It will take according to your system.
So first task is just install a toolbox inside the Matlab.
The second task is you just need to go to any package manager.
Any package manager.
This one is the AI Package manager.
Just click over here.
It is a six MB file.
You just need to download it and install in your system.
In my case, I already have an IBM.
I just click as you see and I package manager is there.
I just need to open this 5.88 and the file is there.
So I just minimize this one and I package manager is there.
So in between I just show you the library browser the toolbox that is related to data acquisition tool
box I just show you.
Over here.
As you see, there is a tool box that is related to data acquisition tool box.
It is related to National Instruments products only.
As you see over here, it is for analog input.
Using this you can acquire data from any sensors that is in the form of analog.
Over here you can get single input.
Over here you can get multiple inputs.
Over here you can get single input.
And this is for analog output.
Let's say you want to generate some five volt signal seven volt signal, three volt signal to the outside
world.
Okay, 3.5V signal.
Using this you can generate because on the DAC devices there are two output signals.
Analog output signals are there.
Or here as you see this is digital analog output signal sample.
This is for digital input If you want to get a digital signal like 0 or 1.
In that case you just use this in the coming upcoming videos, I just show you how to use these toolbox.
And over here this is your digital output.
In the case of National Instrument, there are 6001 or 6000 8 or 9.
There are 13 pins are available in the form of three ports.
Okay, so these are the toolbox.
Now I just go to the and I package manager or here you just need to search for backpacks.
Because when you just connect your new device with your system there are no drivers installed in your
system.
So this.
I need Mac's toolbox.
It will install necessary drivers for the DAC devices or data acquisition devices.
You just need to install this one into your system.
Right now I just close it.
It hardly takes ten minutes.
So first you need to install that max detection toolbox inside the Matlab.
Second, from the new package manager you just need to install that max toolbox.
Okay.
So then you just connect your device with your system.
Let's say in my case I just connect one device that is an I USB 6001 that card with the PC.
So I want to check it is connected or not.
So for that purpose you just go to an Imax, then you just install an I mac back Max.
This file also this application also installed into your system.
Measurement and automation explorer.
It is called Measurement and Automation Explorer.
That is max.
So it will show you the device that is connected to your system.
I just show you.
Friends, as you see over here, this measurement and automation Explorer will show you.
It will show you the details of your PC.
As you see in this case, which operating system is there and what is the physical memory of your system.
So if you want to check the device connected to your system, you just go to Device and interface over
here.
This is my device and this is simulated device.
Virtual device I just delete this one.
So I just disconnect my device.
As you see over here, there is a broken arrow over here when I just connect this again, it will go
over here.
This is the model number and a USB 6001.
And this is the serial number 0184268.
This is the device connected to my system.
This is the hardware device that is connected to my system.
So this is the first part.
How to connect.
How how to interface.
Uh, and I that device with Matlab software.
In the upcoming videos, I just show you how to acquire how to generate digital and analog data using
Matlab with the help of an I.
Descartes.
Thank you.