Re: NI PCI6036 - How to find the address and irq

Richardson Leao wrote:
> Hi All,
> 
> I am trying to run a little program as a realtime module to read and 
> write in the 1st analog output/input of a NI PCI6036. The card is 
> configured by
> 
> comedi_config /dev/comedi0 ni_pcimio

Should that be:

comedi_config /dev/comedi0 pci-6036e

?

> 
> I can find the irq for it in the /prc/pci
> 
> but i dunno how to attribute an IO address to it. I know it might be a 
> stupid question, but how do i attribute an IO address to it.

The base address and irq options don't apply to these PCI cards. If you 
supply the options, they should be the PCI bus number and PCI slot 
number.  You don't need these options if you only have one PCI6036 card 
installed.

> I tried 
> isapnp tools but it's a pci card. and if i give the io address and irq 
> to comedi_config, does comedi_read gets quicker?

Don't pass the io address and irq as options - it won't work, and even 
if it did work, it wouldn't make it any faster.

> the problem is that the 
> same program used in a laptop can do the same job using a pcmcia card 
> (daq6062e) without failing while in a desktop (p4) using a pci card, the 
> program shows lots of 'NaN's' crom comedi_read. Thanks immensely for any 
> help.

I don't have any of these cards, so I've no idea about that, sorry!

Best regards,
Ian Abbott.

Received on 2005-01-12Z18:07:16