Experimental Physics and Industrial Control System
John,
the following worked for me:
DBR_Int dbr = (DBR_Int) ch.get(DBRType.INT, 1);
ctxt.pendIO(5.0);
int[] val = dbr.getIntValue();
- rolf -
John Faucett wrote:
It's not at all obvious to me how to get EPICS data using JCA2. I
tried adding
DBR_Int dbr = ( DBR_Int) ch.get( DBRType.INT, 1);
to the code in the configuration tutorial but all it returns is zero
for a PV that has a non-zero VAL field. What am I missing?
John Faucett
--
+-------------------------------------------------+
| Rolf Keitel, TRIUMF Tel: (604) 222-7453 |
| Group Leader ISAC Controls Fax: (604) 222-7307 |
| and Electronics Development |
| Vancouver, B.C., Canada |
+-------------------------------------------------+
- References:
- JCA2 example code John Faucett
- Navigate by Date:
- Prev:
JCA2 example code John Faucett
- Next:
#ifdef EPICS3_14 Steven Hartman
- 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
2025
- Navigate by Thread:
- Prev:
JCA2 example code John Faucett
- Next:
#ifdef EPICS3_14 Steven Hartman
- 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
2025