Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Data Acquisition with multiple NI PXI-4472 boards
Date: Tue, 11 Mar 2008 09:43:02 +0000 (UTC)
Organization: Univ of Southampton
Lines: 36
Message-ID: <fr5k76$77c$1@fred.mathworks.com>
References: <fr37dh$984$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205228582 7404 172.30.248.38 (11 Mar 2008 09:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 11 Mar 2008 09:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 981370
Xref: news.mathworks.com comp.soft-sys.matlab:456483



I managed to get multiple channel acquisition spanning
multiple boards working using the NI-DAQmx Tools available
from the NI website
(http://zone.ni.com/devzone/cda/tut/p/id/3005) and the
following code :

Physical_Channel = 'PXI1Slot2/ai0:7, PXI1Slot3/ai0:7';
Minimum_Value = -10;
Maximum_Value = 10;
Sample_Rate = 2000;
Measurement_Time = 3;
Samples_per_Channel = Sample_Rate * Measurement_Time;
Timeout = -1;

[data, time, initial_time, timed_out] =
AcqNUpdates(Physical_Channel,                     
Minimum_Value, Maximum_Value, Samples_per_Channel,         
             Sample_Rate, Timeout);


It seems to me, however, that this toolbox is a series of
interfaces into compiled ".dll" files, and that, for
example, the callback/continuous calculation functions of
the data acquisition toolbox are not available through
MATLAB code. Is this correct ? 

I'd like to be able to do continuous processing of my
acquired data, and update a MATLAB plot window with the
results using all 16 available channels on my two PXI-4472
cards. Is this possible with either the NI-DAQmx tools, or
the Data Acquisition Toolbox ? 

Thank you for any help, 

Chris