Re: Configuring two ni_pcimio cards on the same computer

On 02/08/07 00:22, Aalhad Deshmukh wrote:
> Hello,
> 
> I have two identical cards on the pci slots in my computer.
> 
> i am using the following commands
> 
> 
> comedi_config /dev/comedi0 ni_pcimio
> 
> and
> 
> comedi_config /dev/comedi1 ni_pcimio
> 
> I also know that we need to provide the Base I/O and IRQ to configure
> the same type of cards

No, the options are the PCI bus and slot numbers which you can find
using lspci.  E.g.:

# lspci
...
00:0f.0 Signal Processing Controller: National Instruments PCI-MIO-16XE-10
...
# comedi_config /dev/comedi0 ni_pcimio 0,0xf   # (or 0,15)

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-08-02Z10:14:22