09-16-2012 04:28 PM
Does anyone know to Acquire Real Time Data using NI-cDAQ9178 hardware, what kind of configuration steps or program has to be developed for MATLAB?
09-17-2012 07:28 AM
09-17-2012 08:52 AM
09-17-2012 08:58 AM
Hi Gagz,
The Data Acquisition Toolbox has been around since before R2009, so I imagine the current installer will either support R2009, or you could get in contact with Mathworks and I'm sure they could provide you with a copy of the older software. It seems the 64-bit version is only compatible with National Instruments hardware, but the 32-bit version is compatible with all listed DAQ hardware.
Hope this helps,
09-17-2012 02:31 PM
Hi Laurence,
Is there any other way of prohramming and acquiring the data from the National Instrument into the MATLAB that you are aware of?
Thanks
Gagz
09-18-2012 03:02 AM
I have had a search around the forums and there is a post here about using DAQmx drivers using the loadlibrary() function.
Other then that I do not know other methods offhand. A more in depth search of the forums may reveal other ways.
09-19-2012 08:47 AM
I've had a look around the forums, and this post seems to offer two other solutions:
The first is to package the MATLAB code as a Mathscript module, which LabVIEW can import.
More details can be found here: http://zone.ni.com/devzone/cda/tut/p/id/3502
The second is to use the DAQmx Tools for MATLAB, but this is older software and may not work with later versions:
NI-DAQmx Tools for The Mathworks, Inc. MATLAB® Software
https://sine.ni.com/apps/utf8/nigb.main?code=GB_EVALDAQTOOLS
MATLAB® is a registered trademark of The MathWorks, Inc.