Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: synchronizing posttrigger DAQ with two boards
Date: Fri, 27 Feb 2009 03:56:01 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 13
Message-ID: <go7o8h$2r1$1@fred.mathworks.com>
References: <go6o36$c5f$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235706961 2913 172.30.248.37 (27 Feb 2009 03:56:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 27 Feb 2009 03:56:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 796075
Xref: news.mathworks.com comp.soft-sys.matlab:521213


Hi S.J.,
Glad you like the support for RTSI that was made available in R2008b.
Others reading this thread can find out more at
http://www.mathworks.com/access/helpdesk/help/toolbox/daq/rn/brw8x4l-1.html#brqy2tk-3
http://www.mathworks.com/access/helpdesk/help/toolbox/daq/brt7oe_-1.html
and the shipped file: demosync_ai_and_ao.m

Regarding how to have one device stop another, consider using the StopFcn callback
http://www.mathworks.com/access/helpdesk/help/toolbox/daq/stopfcn.html

Set the StopFcn for the main device and in the callback itself call stop on the secondary device. You could use the main device's UserData property to store the handle to the secondary device.

Sherryl