Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Unable to create digitalio object for parallel port
Date: Mon, 28 Apr 2008 06:06:07 +0000 (UTC)
Organization: Konem Solutions
Lines: 59
Message-ID: <fv3pgf$fo9$1@fred.mathworks.com>
References: <fv090a$27m$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
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 1209362767 16137 172.30.248.37 (28 Apr 2008 06:06:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 28 Apr 2008 06:06:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:465460


"Levy " <levy@pssolucoes.com.br> wrote in message 
<fv090a$27m$1@fred.mathworks.com>...
> Hi, Folks,
> 
> Why do I get the error message:
> 
> "??? Error using ==> digitalio.digitalio at 93
> Error using ==> 
> digitalio.digitalio>localCreateDigitalIOObject at 187
> Failure to open requested data acquisition device."
> 
> after the following command sequence?
> 
> ------------------------------------------------------
> >> daqhwinfo
> 
> ans = 
> 
>           ToolboxName: 'Data Acquisition Toolbox'
>        ToolboxVersion: '2.11 (R2007b)'
>         MATLABVersion: '7.5 (R2007b)'
>     InstalledAdaptors: {3x1 cell}
> 
> >> ans.InstalledAdaptors
> 
> ans = 
> 
>     'nidaq'
>     'parallel'
>     'winsound'
> 
> >> dio=digitalio('parallel','lpt1')
> ??? Error using ==> digitalio.digitalio at 93
> Error using ==> 
> digitalio.digitalio>localCreateDigitalIOObject at 187
> Failure to open requested data acquisition device.
> ---------------------------------------------------------
--
> 
> Another thing related: the simulink digital output block 
> does not show the parallel port.
> 
> Before someone suggests: I'm an administrator user and 
the 
> winio starts up on boot!
> 
> Thanks in advance! 

Hello
I cannot comment on the error above, but if you intend to 
use parallel port for data acq. Then I might suggest you 
to use this uility found here 
(http://www.usd.edu/~schieber/psyc770/IO32.html). Its very 
fast and doesnt require you to have the DAQ toolbox 
installed.
HTH
Vihang