09-17-2013 07:11 AM
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.
09-17-2013 08:24 PM
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.
09-19-2013 10:31 AM
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
09-26-2013 12:44 PM
Thank you, I'm going to contact Mathworks directly!