Re: Choose the device with two NI cards

The ni_pcmio driver allows you to specify the bus & slot as parameters.  ex:

comedi_config /dev/comedi0 ni_pcimio 6,4
comedi_config /dev/comedi1 ni_pcimio 6,5
comedi_config /dev/comedi2 ni_pcimio 6,6

On Monday 20 February 2006 4:02 am, Charles Combes wrote:
>  Hello everybody,
>
> I'm just new in using comedi device with rtai.
> Here is my configuration :
> Fedora Core 2
> Kernel 2.6.8.1
> Rtai 3.1
> Comedi 0.7.70
> NI 6053e
> NI 6040e
>
> My problem is that both cards use the same drivers ni_pcimio. How can I
> choose the device for each card because I don't find any option in the
> comedi_config manpage.
> When I do :
> comedi_config /dev/comedi0 ni_pcimio
>  comedi_config /dev/comedi1 ni_pcimio
>
> The NI6053e is on the comedi0 and the other one on the other device.
> How could I surely put the NI6053e on comedi1 (using IRQ for example).
> Thank you for you help.
>
> Charles

-- 
Best regards,

Steve Hartmann

Received on 2006-02-20Z14:50:57