Hi there
I am Jolanta and from lativia and I am new to Matlab. I am using Laser sensor with NI PCle 6321 to acquire 3D images of a scanned object. I want to know whether it is possible to do the same using Matlab instead of LabView. I am using Lego Mindstorms made Robotic arm to move my Laser beam which gives me x,y,z points now I want to know How do I achieve this using Matlab. Your suggestions are really appreciated.
regards
Jolanta

댓글 수: 2

Sean de Wolski
Sean de Wolski 2012년 3월 7일
Could you perhaps provide a small set of sample data and the expected results/image of expected results?
Jolanta Gavrowski
Jolanta Gavrowski 2012년 3월 9일
http://www.youtube.com/watch?v=qmfwPXYO5vM
If you can watch this video. The application should be similar to this

댓글을 달려면 로그인하십시오.

답변 (3개)

Doug Jones
Doug Jones 2012년 3월 7일

1 개 추천

Hi Jolanta,
You can now program & control the LEGO MINDSTORMS NXT directly from Simulink. One suggestion is to model the robot arm controller in Simulink and then load & run it on the NXT Brick. In MATLAB, you can use the Data Acquisition Toolbox to acquire the laser sensor data. Data Acquisition Toolbox provides support for the PCIe-6321. More details can be found here:
Simulink Support for Target Hardware, including LEGO MINDSTORMS NXT:
Data Acquisition Toolbox:
I hope this is helpful.

댓글 수: 6

Walter Roberson
Walter Roberson 2012년 3월 7일
Interesting.
The question that then immediately came to my mind was whether the Simulink target was supported for both 32 bit and 64 bit MATLAB, so that the user would have a choice of legacy interface (32 bit only) or session-based interface (64 bit only) to communicate with the PCIe-6321.
It appears to me that the answer is Yes, that both 32 and 64 bit are supported at this time; I deduce this from seeing specific 32 and 64 bit support mentioned on the Mindstorms page, http://www.mathworks.com/academia/lego-mindstorms-nxt-software/legomindstorms-simulink.html
Sean de Wolski
Sean de Wolski 2012년 3월 7일
I'm pretty sure session-based DAQ only works for NI at this point.
Sean de Wolski
Sean de Wolski 2012년 3월 7일
http://www.mathworks.com/help/toolbox/daq/rn/bstssaq-1.html
Walter Roberson
Walter Roberson 2012년 3월 7일
Right, Sean, but the 6321 _is_ a NI device.
Sean de Wolski
Sean de Wolski 2012년 3월 7일
And I can't find anything indicating support for any non-NI products.
Walter Roberson
Walter Roberson 2012년 3월 7일
http://www.mathworks.com/help/toolbox/daq/bsvjl59-1.html
has a chart that shows that session-based interface is supported only for NI devices, and that for other manufacturers, only the legacy interface is supported and only 32 bit MATLAB.

댓글을 달려면 로그인하십시오.

Jolanta Gavrowski
Jolanta Gavrowski 2012년 3월 9일

0 개 추천

Hi Guys Thanks for the reply.
But I cant find target installer on my Simulink. I am using Matlab 2011b, buyt in my tools of new models in simulink there is no option of run target installer.
supermanhero 718
supermanhero 718 2015년 2월 11일

0 개 추천

Hi all,
Can you help me for my final year project about 3D scanner image using laser. So, I hope could everybody help me by providing the complete matlab coding for this project.
Thanks and have a nice day

카테고리

도움말 센터File Exchange에서 LEGO MINDSTORMS EV3 Hardware에 대해 자세히 알아보기

질문:

2012년 3월 7일

답변:

2015년 2월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by