Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquisition toolbox

I am acquiring data with Matlab data acquisition toolbox  version 2.2  and NI board AT-MI0-16E-10. I can acquire data once. However, when I run the same code to get the data again I only get a dc signal. I have to reboot the machine to be able to successfuly run the code again. What should I do? I would appreciate any help.
 
Thanks,
Ali
0 Kudos
Message 1 of 3
(3,486 Views)
Hi Ali,
 
Just to let you know that I am going to look into this. I will post an answer once I find out some more.
Yardov
Gerardo O.
RF SW Engineering R&D
National Instruments
0 Kudos
Message 2 of 3
(3,453 Views)

Hello Ali,

 

 

The MATLAB® Data Acquisition Toolbox is a product of The MathWorks, Inc., and support questions for this toolkit should be directed directly to The MathWorks. I cannot help you very much since I am not familiar with the API for this Toolbox.

 

National Instruments does offer a free alternative, however, which can help you acquire data directly form the MATLAB® software environment:

 

NI-DAQmx Tools adds a library of commands that you can invoke from within the MATLAB® software environment. In addition to the new library, it also includes many practical examples that show you how to acquire and generate signals, configure your National Instruments hardware, and other useful tasks.

 

You can learn more and download the free tools at this link:

 

https://www.ni.com/en/support/downloads/tools-network/download.data-acquisition-toolbox-for-matlab-a...

 

 

The second alternative is to combine graphical system development with textual math directly within the software platform LabVIEW.

 

 

  • The NI-DAQmx data acquisition driver installs into LabVIEW and gives you a flexible programming interface for configuring your acquisition hardware and handling the acquisition. It includes both high-level configuration-based tools for quickly getting acquiring data and lower-level tools for flexible, programmatic control that’s necessary for more involved applications. See https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html for more information about NI-DAQmx.

     

  • MathScript is a LabVIEW feature that allows you to work with your text-based m-file scripts within LabVIEW. MathScript is a built-in part of LabVIEW, so it does not require 3rd party software to work. MathScript is generally compatible with m-file script syntax, which is the syntax widely used by alternative technical computing software such as The MathWorks, Inc. MATLAB® software, Comsol, Inc. COMSOL ScriptTM software and others. 

 

You can then use the LabVIEW evaluation version (found at ni.com/download and select LabVIEW 8.20 Evaluation Software Download) and reuse or create your text-based math algorithm.

 

 

Good luck and let me know how it goes,

 

 

Yardov

 

 

MATLAB® is a registered trademark of The MathWorks, Inc. All other trademarks are the property of their respective owners.

 

 

Gerardo O.
RF SW Engineering R&D
National Instruments
0 Kudos
Message 3 of 3
(3,419 Views)