NI-6009 on Simulink

조회 수: 4 (최근 30일)
mkmat
mkmat 2014년 6월 13일
답변: Walter Roberson 2016년 6월 28일
Hello Everyone,
I would like to make a communication between NI-6009 (USB connection) with Simulink.
Any help/feedback on this?
Thanks,

채택된 답변

Friedrich
Friedrich 2014년 6월 13일
Hi,
you can use the Data Acquisition Toolbox because your device is supported. See here. So either go for the 32bit Data Acquisition Toolbox to get soem simulink blocks you can use or use the 64bit Data Acquisition Toolbox where you would need to create your own MATLAB level 2 S-function which uses the session based interface to communicate with the device.
  댓글 수: 3
Friedrich
Friedrich 2014년 6월 13일
  1. Get used to the session based interface by staying in a plain MATLAB environment. See the doc for examples and detailed information about the methods/functions you need. Once you know how to communicate with your deveice move on.
  2. Start writing a simple MATLAB level 2 S-function:
>> web(fullfile(docroot, 'simulink/sfg/writing-level-2-matlab-s-functions.html'))
Or online.
3. Combine 1 and 2 to achieve you overall goal.
mkmat
mkmat 2014년 6월 13일
great! thanks...

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2016년 6월 28일

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by