Lifang Zheng wrote:
>
> Hi all,
>
> My DAQ is with an IP-16ADC inserted in MV162, a signal generator sends
> an input to ADC with another generator creating trigger signals.
>
> My aim is: When the external trigger signal arrives to make ADC
> conversion, after an interrupt creats, the new conversion data can be
> displayed in MEDM. I don't know if it's possible with "I/O Intr" scan
> in DB and asynchronouse device? If so, what I should do in
> device/driver? About asynchronouse device I only know little from EPICS
> IOC Application Developer's Guide(3.13.0beta12 Page105), but it doesn't
> meet my expect.
>
> May I ask if somebody could give me some suggestions? Any advice & help
> are welcomed.
Read I/O Event Scanning on page 160 of IOC Application Developer's
Guide(3.13.0beta12)
1) At device initialization time call scanIoInit
2) In your interrupt routine call scanIorequest
3) Your DSET must implement get_ioint_info
In your epics base look at
spics/src/dev/testDev/devEventTestIoEvent.c
This is an example that shows how to use I/O event scanning. You, however, will
call scanIoRequest from your interrupt handler.
Marty Kraimer
- References:
- I/O Intr and Asynchronouse device Lifang Zheng
- Navigate by Date:
- Prev:
RE: IOC woes Jeff Hill
- Next:
mbboDirectRecord Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
I/O Intr and Asynchronouse device Lifang Zheng
- Next:
mbboDirectRecord Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|