Path: news.mathworks.com!not-for-mail
From: "Davide Borelli" <davidepub@microonda.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: continuous acquisition
Date: Mon, 17 Dec 2007 12:07:15 +0000 (UTC)
Organization: Universita di Parma
Lines: 17
Message-ID: <fk5opj$vp$1@fred.mathworks.com>
References: <fj60m2$p81$1@fred.mathworks.com> <fj66ch$sgs$1@fred.mathworks.com> <fj6cug$2vu$1@fred.mathworks.com> <fj9d6l$97$1@fred.mathworks.com> <fjb0ua$cfc$1@fred.mathworks.com> <fjbaqs$mu0$1@fred.mathworks.com> <fjbgs7$ggp$1@fred.mathworks.com> <fjbr8b$qi7$1@fred.mathworks.com> <fjma9f$8d4$1@fred.mathworks.com> <fjpesn$p3d$1@fred.mathworks.com> <fjpf90$1qu$1@fred.mathworks.com>
Reply-To: "Davide Borelli" <davidepub@microonda.net>
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 1197893235 1017 172.30.248.38 (17 Dec 2007 12:07:15 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 17 Dec 2007 12:07:15 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1205384
Xref: news.mathworks.com comp.soft-sys.matlab:442721



Thank you very much, it works greatly!
After two or three minutes it tells me an error:

DataMissed event occurred for the object: nidaq-AI

Is it a problem I should be able to sove with BufferingConfig and daqmem? Or I 
need some other skill? I have a 2GHz Pentium pc with only 220Mb of RAM.

Another question: I make my program to save data files every 3*10^6 samples, 
that means every minute (I get 50000samples per sec), in order not to have too 
huge files (every file is about 47MB). Is there a way to have smaller data files 
without stopping and restarting the daq board every minute? I don't loose much 
time, just 0,2 sec, but I'd like to make a "more continuous" acquisition!

Anyway, I am vey happy just like that!
Thank you again
Davide B.