- From: Krishna S <skrishna_at_panindia.com>
- Date: Wed, 16 Apr 2003 18:37:20 -0700 (PDT)
Hello all,
Thanks, Frank.The PCI DAS has an external interrupt pin. When an external interrupt occurs I would like to increment a count in the ISR. No analog data acquistion is required.What should I do to achieve this? (I also need analog output in my application).
Regards,
Krishna
--- Frank Mori Hess <fmhess_at_users.sourceforge.net> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Wednesday 16 April 2003 12:02 pm, Krishna S wrote:
>> Hello All,
>> Thanks for the info.I could configure the driver. I have a few
>> questions regarding comedi and PCI-DAS 1602/12. 1. I would like to use
>> external interrupts and consequently would like to set the options in
>> Interrupt /ADC FIFO register. How can I do this using the comedi API? 2. I
>
>You should be able to use external triggers by setting TRIG_EXT as the
>start_src, scan_begin_src, or convert_src. I don't know how well tested it
>is though.
>
>> would also like to use Analog I/O from a RTlinux module? Will I be able to
>
>Yes
>
>> do this? 3. Does anyone have code for calibrating the PCI-DAS 1602/12?
>
>The comedi/comedilib cvs has calibration code for the cb_pcidas driver. It
>will only calibrate one analog input range at the moment though. The
>infrastructure for calibrating multiple ranges is in cvs, but specific
>support for multiple ranges with cb_pcidas hasn't been added to
>comedi_calibrate yet.
>
>> 4. Lastly, do I need to worry about the IRQ conflict (as mentioned in my
>> previous post) when I use my board?
>
>It will prevent the interrupt handler from running at RT priority, which may
>or may not matter to you.
>
>- --
>Frank
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE+ndVn5vihyNWuA4URAlOkAJsH5AbI2nmAMeV2HD2XuZv1nIp+uACferJt
>VgGCL/EImIANB173els73xk=
>=Okef
>-----END PGP SIGNATURE-----
_____________________________________________________________
Get FREE email - YourName_at_PanIndia.com at http://www.PanIndia.com, Sign up before someone takes your name!
_____________________________________________________________
Select your own custom email address for FREE! Get you_at_yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
Received on 2003-04-17Z00:37:20