simulink NI USB-6009 device

13 次查看(过去 30 天)
Erik
Erik 2016-2-1
I'm using matlab2015b(64bit) on windows7 and trying to get some reading from my NatianalInstruments USB-6009 using simulink. Using Labview I get data, so I know the device is working. In simulink I'm unable to find a Realtime block for this device. There are plenty PCI based NI solutions there, but no USB based. Could someone please point me in the right direction, I have been searching the last 4 hours on this site.
  1 个评论
Walter Roberson
Walter Roberson 2016-2-1
For future reference: the device is supported by the session based daq interface from MATLAB. I am not at my laptop at the moment to search out the Simulink access.

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2016-2-1
According to http://www.mathworks.com/hardware-support/nidaqmx.html the Simulink blocks for NI are supported only in Legacy interface. The USB 6009 does support both Session Based and Legacy interface, so there is the possibility of using the USB 6009 with Simulink blocks. However, the Legacy interface is available only in the 32 bit versions of MATLAB, so you will need to install the 32 bit version on your system to access it.
Note: R2015b is the last version that will support 32 bit MATLAB. I have no information about what this means for legacy interface or simulink block support.
  1 个评论
Vinod
Vinod 2016-10-23
Data Acquisition Toolbox has Simulink blocks to support NI DAQ devices on 64-bit MATLAB & Simulink as of R2016b and newer.

请先登录,再进行评论。


surya S
surya S 2016-10-14
how to get ni6009 block in matlab? i dont find it in matlab? please anyone help
  3 个评论
Eugene Yuan
Eugene Yuan 2024-4-11
NI-DAQmx should be installed firstly.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by