simulink NI USB-6009 device
60 views (last 30 days)
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.
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.