EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20192020  2021  2022  2023  2024  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Two EVR in one VME
From: Michael Davidsaver via Tech-talk <[email protected]>
To: Di Wang <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Tue, 19 Feb 2019 19:32:11 -0800
On 2/18/19 11:11 PM, Di Wang via Tech-talk wrote:
> Hi everyone,
> 
>   I have some problems when listening to two EVR in one VME. I want to read EVR event respectively and storage them in two waveform record. So I used the method which described in this link 
>                 https://epics.anl.gov/tech-talk/2008/msg00241.php

I'm not sure if it is relevant to this discussion, but It's worth noting
that this post concerns a different EPICS driver for the same Micro Research
Finland hardware.  My mrfioc2 driver didn't exist in 2008.

As a matter of habit.  Which versions of EPICS Base, devlib2, and mrfioc2 are you using?
Also, what hardware and OS are involved?

...
>   But when I test two EVR, both test:evr1:Event-Wf and test:evr2:Event-Wf will receive the same event twice.

By this you mean that both EVR cards are cabled to the same EVG?
If so, I don't understand what you mean by 'event "19" is not
supposed to received by evr1'.

>For example, in test:evr1:Event-Wf, the event number is like this: event "38" is received twice and event "19" is not supposed to received by evr1. But when I monitored the value of test:evr1:EventCode and test:evr2:EventCode, their value is correct and received the event sequence which they should received. It is very weird.

Can you provide a more complete database?  It is hard for me to judge how
test:evr1:Event-Wf work without seeing its definition.


>     I do not know if there is some wrong with my waveform device support but since EventCode record can separate different EVR why Event-Wf record receives two EVR's event?
> ...*_38 36 37 2 1 35 32 33 184 181 180 19 15 38 36 37 2 1 35 32 33 184 181 180...
> _*
>   EPICS base version is 3.15.5, IOC is compiled in Linux and run on VxWorks, mrfioc2-2.2.0, EVRs are EVR-230-RF
> mrmEvrSetupVME("tstevr1", 3, 0x08000000, 5, 0xc0)
> mrmEvrSetupVME("tstevr2", 5, 0x08040000, 7, 0xc1)

Can you also include the dbLoadRecords() lines?

References:
Two EVR in one VME Di Wang via Tech-talk

Navigate by Date:
Prev: RE: Pro-Dex Oregon Micro Systems EPICS hardware support Mark Rivers via Tech-talk
Next: print all information about a PV including units rachid ayad via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Two EVR in one VME Di Wang via Tech-talk
Next: Re: Two EVR in one VME Konrad, Martin via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 19 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·