Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

X-Series USB-6356 and Simulink Real-Time Windows Target

Hello everybody,

 

I've been successfully using the NI USB X Series 6356 board to aquire data for several months, now I need to close a control loop via Simulink.

Since our application is rather fast and requires a sample rate of about 10kHz, I was planning to use the Matlab Real-Time Windows Target Toolbox or the xPC toolbox for control.

Unfortunately, I discovered that the X-Series 6356 board is not supported bei either of these two toolboxes. Only Mathworks' DAQ toolbox supports this board -  but at the same time it is not suitable for code generation.

 

My question is: is there any way to make the X Series 6356 board compatible to either xPC toolbox or Real-Time Windows target?

Or is our board maybe even the wrong instrument for fast control loops?

 

Why is the X Series 6356 board not supported at all with Real-Time Windows Target or xPC?

 

We´re using Win7 64bit, Matlab R2013a 32bit.

 

Any help is appreciated! Thanks.

0 Kudos
Message 1 of 4
(4,339 Views)

I tihnk MATLAB building DAQmx toolbox based on NI-DAQmx which is why it's ok on Windows. NI have their own RT system based on Pharlap which is different from MATLAB RT. That's why it's not compatible.

0 Kudos
Message 2 of 4
(4,322 Views)

Hi,

 

basically the USB-6356 needs the device driver NI-DAQmx. The driver ships the API so you are able from different programming languages LabVIEW; C; C++ communicate with the USB device.

 

Unfortunately I couldn't inform you how Mathworks build up/implement the driver finally in their toolbox.

 

I would recommend to ask Mathworks for the driver support in different toolboxes.

 

Kind regards,

 

RupiDo

NI, AE

0 Kudos
Message 3 of 4
(4,298 Views)

Thank you, I'm going to contact Mathworks directly!

0 Kudos
Message 4 of 4
(4,249 Views)