Title: get_ioint_info missing
Hello,
I'm trying to learn EPICS (complete newbie:) through an existing IOC application - instrumentation technologies libera IOC support application that uses asyn driver.
Since the existing driver is a bit complex, I'm trying to build my own version of the driver in order to understand mechanics of the EPICS. Also
existing libera IOC application is written in C++, while I'm trying to implement it in standard C instead.
I've successfully manages to get read/write operations on a PV to behave as expected. One thing that iocsh spews out during startup is this message:
PV: LIBERA01:ENV:ENV_KX_MONITOR scanAdd: I/O Intr not valid (no get_ioint_info)
the PVs are defined as follows (in db):
record(longin, "$(DEVICE)ENV_KX_MONITOR") {
field(SCAN, "I/O Intr")
field(INP, "@asyn($(PORT),700)")
field(PINI, "YES")
}
record(longout, "$(DEVICE)ENV_KX_SP") {
field(DTYP, "asynInt32")
field(OUT, "@asyn($(PORT),700)")
}
Methods for read/write 32 int value:
static asynInt32 drvLiberaInt32 = {
writeInt32,
readInt32,
NULL,
NULL,
NULL
};
As I said, reading from LIBERA01:ENV:ENV_KX_SP variable returns correct value and writing to the LIBERA01:ENV:ENV_KX_SP variable sets the value in the
desired device/port too. Using the LIBERA01:ENV:ENV_KX_MONITOR (via camonitor) does not reflect the same variable value as it should - same as LIBERA01:ENV:ENV_KX_SP.
How and where should one define 'get_ioint_info'?
I can't seem to get any reference to the get_ioint_info in existing C++ implementation of the driver..
Thank you,
Hinko
- Replies:
- RE: get_ioint_info missing Mark Rivers
- Navigate by Date:
- Prev:
including one .stt file as a header in another Patrick Thomas
- Next:
Visibility PV problem in EDM Prachi Chitnis
- 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:
Re: including one .stt file as a header in another Wesley Moore
- Next:
RE: get_ioint_info missing Mark Rivers
- 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
|