File Exchange

image thumbnail

Data Acquisition

version 4.1 (742 KB) by

This app allows a user to interactively configure/control their data acquisition devices.

4.57143
8 Ratings

257 Downloads

Updated

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This app is a quick way to get up and running with the Data Acquisition Toolbox. The app allows a user to quickly discover, connect to, and control their data acquisition card from MATLAB without prior knowledge of the programming interface to Data Acquisition Toolbox. The app provides an easy to use interface to your data acquisition card and allows you to visualize results and save them to a MAT-file. It also allows the user to generate MATLAB code from the interactive work done with the app, which the user can use to automate their data acquisition process, as well as, learn the programming interface from a relevant working example.
Features:
- Support for audio/analog input, audio/analog output, and non-clocked digital I/O.
- Save captured data to MAT-File (File menu)
- Generate MATLAB code from interactive work (File menu)
- Supports 32-bit and 64-bit Windows versions
- Supports both the legacy interface and the session-based interface.
Note: Audio support for 64-bit Windows begins in R2014a and requires the Direct Sound HW Support Package (free download via MATLAB's "Add-Ons" button).

Comments and Ratings (12)

Vitali Walter

Is it posible to get or to check out the code of this app? I`ve tryed earlier to programm such tool by my self but failed. It would be a good example to work on other GUI`s.

shixiong yu

超出了程序允许的最大变量值。

出错 dataAcqTool_export>dataAcqTool_export_OpeningFcn (line 111)

出错 dataAcqTool_export>gui_mainfcn (line 2874)

出错 dataAcqTool_export (line 42)

出错 DAQmain (line 4)
dataAcqTool_export;

出错 DataAcquisitionApp/startApp (line 58)
eval('DAQmain');

出错 DataAcquisitionApp (line 37)
startApp(obj)

出错 appinstall.internal.runapp>execute (line 75)
out = evalin('caller', [script ';']);

出错 appinstall.internal.runapp>runapp13a (line 57)
outobj = execute(fullfile(appinstalldir, [wrapperfile
'App.m']));

出错 appinstall.internal.runapp>runcorrectversion (line 35)
appobj = runapp13a(appinstalldir);

出错 appinstall.internal.runapp (line 17)
out = runcorrectversion(appmetadata, appentrypoint,
appinstalldir);

can not work in 2014a

how about matlab 2016?
it doesnt work on it. What should i do?

What about synchronizing Analog Output generator channel and Analog Input channel on one plot?

Couldn't learn better and faster to control NI interfaces without this MATLAB code generation.

Thank you a lot!

VISWANATH

Fantastic app!! It works in a few clicks but was using USB6001 had problem at first instant. This link solved the problem

http://it.mathworks.com/matlabcentral/answers/153597-reading-data-from-ni-usb-6000

Thanks a mil!!

Or Hirshfeld

it's great stuff, thank you very much.
helped me to finish my project

if you have problem connectiing to NI try to install offical NI matlab support http://www.mathworks.com/matlabcentral/fileexchange/45086?download=true

this installtion only worked for me on matlab 2013+

Dan

Dan (view profile)

All I seem to be getting from the download is a license file.

Isaac Noh

Isaac Noh (view profile)

The data save issue has been fixed.

Ali

Ali (view profile)

Hey, Is there any way I can save the data using this app, I'm using mydaq from NI and every time I try to save the data after I collect it I got this error :
Error while evaluating uimenu Callback

Cell contents reference from a non-cell array object.

Error in cell2mat (line 43)
cellclass = class(c{1});

Error in C:\Users\Amin
Bibo\Documents\MATLAB\Apps\DataAcquisition\dataAcqTool_export.p>SaveData_Callback
(line 1924)

Error in C:\Users\Amin
Bibo\Documents\MATLAB\Apps\DataAcquisition\dataAcqTool_export.p>gui_mainfcn
(line 2704)

Error in C:\Users\Amin
Bibo\Documents\MATLAB\Apps\DataAcquisition\dataAcqTool_export.p>dataAcqTool_export
(line 42)

Error in C:\Users\Amin
Bibo\Documents\MATLAB\Apps\DataAcquisition\dataAcqTool_export.p>@(hObject,eventdata)dataAcqTool_export('SaveData_Callback',hObject,eventdata,guidata(hObject))
(line 2569)


Error while evaluating uimenu Callback

Updates

4.1

Version 4.1:
• Export data to workspace
• Added digital I/O, and bidirectional channel support
• Support for different clock sources
• Support for unclocked (single-scan) sessions
• Generate a clock signal
• Add counter I/0 support
• Bugs fixes

1.8

New version for R2014b and newer (older version still included for R2013b-R2014b).

1.7

Version 1.5: Fixed data save issue and other improvements.

1.6

Updated description and bug fixes (v1.4)

1.5

Bug fixes and added Session Log display

1.4

- Updated description

1.2

Updated description.

1.1

1.04: Bug fixes

MATLAB Release
MATLAB 8.2 (R2013b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video