simulink NI USB-6009 device

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

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 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 Comment

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

3 Comments

I assume you mean you are looking for a Simulink block to access your NI USB 6009 device. NI DAQ devices are supported in MATLAB & Simulink R2016b and newer. Upgrade to the latest version and you will find the blocks you are looking for.
Did you find the block??
NI-DAQmx should be installed firstly.

Sign in to comment.

Categories

Asked:

on 1 Feb 2016

Commented:

on 11 Apr 2024

Community Treasure Hunt

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

Start Hunting!