Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: NiDaq, Daq, Hardware Problem?
Date: Thu, 13 Dec 2007 08:56:54 +0000 (UTC)
Organization: DW-TV
Lines: 29
Message-ID: <fjqs4l$gk2$1@fred.mathworks.com>
References: <fif9j3$snb$1@fred.mathworks.com> <fj17mk$i2c$1@fred.mathworks.com> <fj746v$i9$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 1197536214 17026 172.30.248.38 (13 Dec 2007 08:56:54 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 13 Dec 2007 08:56:54 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1095707
Xref: news.mathworks.com comp.soft-sys.matlab:442297



Hallo Rob!

I'm sorry.
We are running a classroom version of R2006a at FHTW-Berlin
(Germany).

The Hardware is a NI-PCI-6036E.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/11913

The Problem is, that this device supports inputsamplerates
of up to 200ks/sec but outputsamplerates only up to
10ks/sec. Therefor I'd like to use the soundcard as
output-device. This device supports only 44.1ks/sec and 8ks/sec.

The target is to find a samplerate greater than 20ks/sec
which is supported by both devices. Since there is only
44.1ks/sec (soundcard) I need to run the NI-hardware with
that samplerate. But

set(ai, 'SampleRate', 44100);

leads to the message like

'unable to set samplerate, samplerate set to
43673.893567824578!'

LARS