Re: need help with ni_660x! (3 other exclamation marks omitted :)

> I have to achieve in a short time (2 weeks!!!) an acquisition
> program=20 for my PCI-6602 card provided by NI-DAQ .  I allready
> installed the=20 driver ni-660x on the computer. It seem to be
> installed correctly. Now,=20 I dont know how to use this driver (the
> right command, configuration=20 instruction ...).

> I want to use a single 32 bit counter to count the 30 ns pulses.

> The counter should be triggerd by an ~2 KHz TTL external clok.
> the scan  should be buffured into a 1024 sample buffer (DMA).
> each acquisition should be trigered by a ~1 Hz TTL external  signal.

> 1- Is it necessary to install the real time patch for this aplication?

> 2- if somebody have an example of c++ program using pci-6602 I am very=20
     interested
> 3- If somebody know a detailded documentation I am also very interested.
     thank you very much

Hi,

See

<http://people.mech.kuleuven.ac.be/~kgadeyne/software/pprts/drivers/comedi/ni660x/>
for detailed documentation and some example programs using the ni660x
driver for different applications.  I don't think you'll need
comedi+rtai, as I see you will be counting on the card and then using DMA.

The current version of the driver has no support for using an
external clock, however it is trivial to extend the driver, with that.

See eg.
<http://people.mech.kuleuven.ac.be/~kgadeyne/software/pprts/drivers/comedi/ni660x/TODO>

Commands are also not supported yet.

I never looked into DMA for the card too, but you'll probably find
some information in the register level manual about that too.

regards, and have fun,

klaas

Received on 2004-03-30Z05:49:07