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: Wed, 12 Mar 2008 11:28:01 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 20
Message-ID: <fr8eo1$1i0$1@fred.mathworks.com>
References: <fr37dh$984$1@fred.mathworks.com> <fr5k76$77c$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 1205321281 1600 172.30.248.38 (12 Mar 2008 11:28:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 12 Mar 2008 11:28:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 796075
Xref: news.mathworks.com comp.soft-sys.matlab:456753



Hi Chris,
Your statement in the 1st post that with Data Acquisition
Toolbox (DAT) you cannot create one analoginput object that
spans 2 devices is correct.
But you can created an object for each:

ai2 = analoginput('nidaq','PXI1Slot2');
ai3 = analoginput('nidaq','PXI1Slot3');

Many of the DAT commands take an array of objects:
start([ai2 ai3])
They will not start simultaneously, but it will be pretty
close and each data point you will get with getdata has a
timestamp so you can correlate.

Look at abstime on the getdata help page
http://www.mathworks.com/access/helpdesk/help/toolbox/daq/getdata.html

All the best,
Sherryl