simulink NI USB-6009 device

60 views (last 30 days)
Erik on 1 Feb 2016
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 Comment
Walter Roberson
Walter Roberson on 1 Feb 2016
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.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 1 Feb 2016
According to 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 Comment
Vinod on 23 Oct 2016
Data Acquisition Toolbox has Simulink blocks to support NI DAQ devices on 64-bit MATLAB & Simulink as of R2016b and newer.

Sign in to comment.

surya S
surya S on 14 Oct 2016
how to get ni6009 block in matlab? i dont find it in matlab? please anyone help
Angel Arteaga Palma
Angel Arteaga Palma on 12 Feb 2022
Did you find the block??

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!