<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Advanced MATLAB: Data acquisition in MATLAB</title>
	<atom:link href="http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<lastBuildDate>Fri, 10 Feb 2012 20:31:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1981</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Fri, 02 Apr 2010 20:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1981</guid>
		<description>@Amin,

The best place for this kind of question is:

http://www.mathworks.com/support</description>
		<content:encoded><![CDATA[<p>@Amin,</p>
<p>The best place for this kind of question is:</p>
<p><a href="http://www.mathworks.com/support" rel="nofollow">http://www.mathworks.com/support</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amin</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1980</link>
		<dc:creator>Amin</dc:creator>
		<pubDate>Fri, 02 Apr 2010 20:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1980</guid>
		<description>Hi,
 i m working on a project, i must control my PCI Data Acquisition Card (Keithley KPCI-3103A) and make it send (with matlab commands) Pulses through a Digital Output to a Sensor board.
 These Signals must be at least 13µs High and 13µs Low (with adjustable pulses Number, Duration and Pulse Width) i looked maybe the whole Documentation about DAQ Toolbox and another Privat things, but nothing of that helped me. I m really confused.
 I can get the Analog signal from the Sensor Board (Adaptor is already registred) but when it´s not controlled with the mentioned signal it is just a normal Input Signal.

I hope somebody can help</description>
		<content:encoded><![CDATA[<p>Hi,<br />
 i m working on a project, i must control my PCI Data Acquisition Card (Keithley KPCI-3103A) and make it send (with matlab commands) Pulses through a Digital Output to a Sensor board.<br />
 These Signals must be at least 13µs High and 13µs Low (with adjustable pulses Number, Duration and Pulse Width) i looked maybe the whole Documentation about DAQ Toolbox and another Privat things, but nothing of that helped me. I m really confused.<br />
 I can get the Analog signal from the Sensor Board (Adaptor is already registred) but when it´s not controlled with the mentioned signal it is just a normal Input Signal.</p>
<p>I hope somebody can help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume Defrance</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1933</link>
		<dc:creator>Guillaume Defrance</dc:creator>
		<pubDate>Mon, 15 Mar 2010 14:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1933</guid>
		<description>Hi Doug,


I have a question about how to use a National Instruments PCI 6120 card with Matlab. The sampling frequency can go up to 1MHz, as far as I undesrtand from the specifications. However, with MatLab, I can&#039;t set it greater than 500kHz.
&lt;pre&gt;
set(ai,&#039;SampleRate&#039;, Fe); % this is my input line
% Here is the Matlab answer
??? Error using ==&gt; daqdevice/set
Unable to set SampleRate above maximum value of 500000.
&lt;/pre&gt;


Do you or anybody have heard about this problem? I am pretty sure there exists a way to force the NI card to a larger sampling frequency when it is given in the specifications of the card, maybe by changing some properties of the card using Matlab?
Thank you in advance for your answer.

-- Guillaume</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>I have a question about how to use a National Instruments PCI 6120 card with Matlab. The sampling frequency can go up to 1MHz, as far as I undesrtand from the specifications. However, with MatLab, I can&#8217;t set it greater than 500kHz.</p>
<pre>
set(ai,'SampleRate', Fe); % this is my input line
% Here is the Matlab answer
??? Error using ==&gt; daqdevice/set
Unable to set SampleRate above maximum value of 500000.
</pre>
<p>Do you or anybody have heard about this problem? I am pretty sure there exists a way to force the NI card to a larger sampling frequency when it is given in the specifications of the card, maybe by changing some properties of the card using Matlab?<br />
Thank you in advance for your answer.</p>
<p>&#8211; Guillaume</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1838</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Mon, 08 Feb 2010 17:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1838</guid>
		<description>@sal22

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/audioplayer.html

I think that you might be able to get audioplayer to do what you want.  I wonder if the click you are getting is because of a discontinuity between the end and beginning of the loop.

If you have Data Acquisition Toolbox, then you might be able to create and analog output and push data out that way and avoid the discontinuity problem also.

What kind of audio data are you attempting this with?

Doug</description>
		<content:encoded><![CDATA[<p>@sal22</p>
<p><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/audioplayer.html" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/techdoc/ref/audioplayer.html</a></p>
<p>I think that you might be able to get audioplayer to do what you want.  I wonder if the click you are getting is because of a discontinuity between the end and beginning of the loop.</p>
<p>If you have Data Acquisition Toolbox, then you might be able to create and analog output and push data out that way and avoid the discontinuity problem also.</p>
<p>What kind of audio data are you attempting this with?</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sal22</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1831</link>
		<dc:creator>Sal22</dc:creator>
		<pubDate>Sat, 06 Feb 2010 18:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1831</guid>
		<description>Greetings All

I have a question on how I can prevent clicks/pause while trying to
play a looped audio file (created in matlab) continuously. 

The working example below plays a 1 second 100hz signal 5 times but I
can&#039;t figure out a way to make it continuous so it doesn&#039;t start and
stop with that pause/click.  I tried to increase the array to like 30
seconds which would work but I want to run the loop for an hour or
three.  When I tried this I ran out of memory (the array was just to
large to store in my 32bit 2gig ram windows system)  Any suggestions/help

I also would like to be able to change the frequency (nSigRepeat) using a slider in a GUI and have it update / play the audio in realtime are their any video tutorials on this

&lt;pre&gt;

clear;
fs=44100;
nSigRepeat=100; %how many times signal repeats in a second
nTimeIncreaseTo=1; %Duration of signal in seconds
x=linspace(0,nTimeIncreaseTo,fs);
y=sin(2*pi*x*nSigRepeat)*.8; %adjust amplitude by multiplying to
prevent clipping

xi=linspace(0,nTimeIncreaseTo,fs*nTimeIncreaseTo);
xi=xi&#039;;
yinterp=interp1(x,y,xi,&#039;linear&#039;);
wavwrite(yinterp,fs,16,&#039;c:\delHz.wav&#039;);

subplot(2,1,1)
plot(yinterp);
subplot(2,1,2)
plot(x,y);

%Plays audio file for 1 second 5 times at 100 hz.
for i=1:5
    soundsc(y,fs);
end;
&lt;/pre&gt;

tia sal22 
and keep up the great work</description>
		<content:encoded><![CDATA[<p>Greetings All</p>
<p>I have a question on how I can prevent clicks/pause while trying to<br />
play a looped audio file (created in matlab) continuously. </p>
<p>The working example below plays a 1 second 100hz signal 5 times but I<br />
can&#8217;t figure out a way to make it continuous so it doesn&#8217;t start and<br />
stop with that pause/click.  I tried to increase the array to like 30<br />
seconds which would work but I want to run the loop for an hour or<br />
three.  When I tried this I ran out of memory (the array was just to<br />
large to store in my 32bit 2gig ram windows system)  Any suggestions/help</p>
<p>I also would like to be able to change the frequency (nSigRepeat) using a slider in a GUI and have it update / play the audio in realtime are their any video tutorials on this</p>
<pre>

clear;
fs=44100;
nSigRepeat=100; %how many times signal repeats in a second
nTimeIncreaseTo=1; %Duration of signal in seconds
x=linspace(0,nTimeIncreaseTo,fs);
y=sin(2*pi*x*nSigRepeat)*.8; %adjust amplitude by multiplying to
prevent clipping

xi=linspace(0,nTimeIncreaseTo,fs*nTimeIncreaseTo);
xi=xi';
yinterp=interp1(x,y,xi,'linear');
wavwrite(yinterp,fs,16,'c:\delHz.wav');

subplot(2,1,1)
plot(yinterp);
subplot(2,1,2)
plot(x,y);

%Plays audio file for 1 second 5 times at 100 hz.
for i=1:5
    soundsc(y,fs);
end;
</pre>
<p>tia sal22<br />
and keep up the great work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1524</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Thu, 30 Jul 2009 13:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1524</guid>
		<description>@pirat,

You are best talking to htt://www.mathworks.com/support for this.

Thanks,
Doug</description>
		<content:encoded><![CDATA[<p>@pirat,</p>
<p>You are best talking to htt://www.mathworks.com/support for this.</p>
<p>Thanks,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pirat</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1523</link>
		<dc:creator>Pirat</dc:creator>
		<pubDate>Thu, 30 Jul 2009 12:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1523</guid>
		<description>hi doug. i want to ask you about using data acquisition card to record data from an oscilloscope realtime and process it with Matlab. i&#039;m able to use getdata, but it&#039;s blocking since i want real time recording and processing, then i will write a GUI to calculate the period, amplitude and some other things.Thank you</description>
		<content:encoded><![CDATA[<p>hi doug. i want to ask you about using data acquisition card to record data from an oscilloscope realtime and process it with Matlab. i&#8217;m able to use getdata, but it&#8217;s blocking since i want real time recording and processing, then i will write a GUI to calculate the period, amplitude and some other things.Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1492</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Mon, 06 Jul 2009 13:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-1492</guid>
		<description>i&#039;d like to know how can i import data for a transducer of human pulses into matlab without help of other hardware.  the sensor has a USB terminal?</description>
		<content:encoded><![CDATA[<p>i&#8217;d like to know how can i import data for a transducer of human pulses into matlab without help of other hardware.  the sensor has a USB terminal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gamal</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-656</link>
		<dc:creator>Gamal</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-656</guid>
		<description>Thank u Doug for ur fast reply. yes I have an NI-DAQ USB 6008. and I have an Analogue voltage sinusoidal signal that have a maximum frequency of 500KHz which means i want a minimum sampling of 1 Mhz. I want to analyze this signal using matlab( getting FFT) real time. can this be done by using the ADC in NI-DAQ or i have to get another ADC. if so how can i interface it with matlab. thanks alot Doug and I am waiting for your reply.
Gamal</description>
		<content:encoded><![CDATA[<p>Thank u Doug for ur fast reply. yes I have an NI-DAQ USB 6008. and I have an Analogue voltage sinusoidal signal that have a maximum frequency of 500KHz which means i want a minimum sampling of 1 Mhz. I want to analyze this signal using matlab( getting FFT) real time. can this be done by using the ADC in NI-DAQ or i have to get another ADC. if so how can i interface it with matlab. thanks alot Doug and I am waiting for your reply.<br />
Gamal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-659</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 06 Oct 2008 13:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/12/04/advanced-matlab-data-acquisition-in-matlab/#comment-659</guid>
		<description>Gamal,

That is something that can be done.  Do you have the Data Acquisition toolbox?  What have you tried, can you connect to the board?  What board is it?

Doug</description>
		<content:encoded><![CDATA[<p>Gamal,</p>
<p>That is something that can be done.  Do you have the Data Acquisition toolbox?  What have you tried, can you connect to the board?  What board is it?</p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

