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

Subject: Re: drv_libera_env.c file of Libera Single Pass
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Hatice İrem Nalçak <hinalcak at tarla-fel.org>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 16 Jan 2024 16:13:48 +0000

Hi Irem,

 

You need to talk to iTech about this issue directly, that part of their IOCs is proprietary so we can't help you with it here.

 

- Andrew

 

 

-- 

Complexity comes for free, Simplicity you have to work for.

 

 

On 1/15/24, 2:20 AM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:

 

Hello,

I am working on the Libera Single Pass. When I run the IOC in device's
terminal following errors appear:

./runapp.sh
#!/opt/epics-libera/bin/linux-arm/libera
epicsEnvSet(ARCH,"linux-arm")
epicsEnvSet(IOC,"iocLibera")
epicsEnvSet(TOP,"/opt/epics-libera")
epicsEnvSet(EPICS_BASE,"/opt/epics-libera")
cd /opt/epics-libera
## Register all support components
dbLoadDatabase("dbd/liberaSupport.dbd",0,0)
liberaSupport_registerRecordDeviceDriver(pdbbase)
### PORT INITIALIZATION
# Environment port
liberaInit("ENV","ENV", "0", "0", "0", "0", "1")
../drv_libera_env.c:72 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
../drv_libera_env.c:1069 CSPI error in cspi_setconparam: unknown error
(-1), No such file or directory (2)

Error setting params to handle events
# Fast Application port reading/writing 8192 samples
liberaInit("FA","FA", "0", "8192", "0", "0", "1")
# ADC port reading 1024 samples
liberaInit("ADC","ADC", "0", "1024", "0", "0", "1")
../drv_libera_adc.c:343 CSPI error in cspi_setconparam: unknown error
(-1), No such file or directory (2)

Error setting params to handle events
# Slow Acquisition port
liberaInit("SA","SA", "0", "0", "0", "0", "1")
#asynSetTraceMask("SA",0,0x1f)
#asynSetTraceIOMask("SA",0,0x7)
## Load record instances
cd db
dbLoadTemplate("libera.substitutions")
cd /opt/epics-libera
iocInit()
Starting iocInit
############################################################################

## EPICS R3.14.9 $R3-14-9$ $2007/02/05 16:31:45$
## EPICS Base built Jan 26 2011
############################################################################

../drv_libera_env.c:92 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
../drv_libera_env.c:92 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
../drv_libera_env.c:92 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
../drv_libera_env.c:844 CSPI error in cspi_setenvparam: system-level
call failed (-5), No such file or directory (2)

Error ENV setting params for command 724, mask 10000
2024/01/11 01:50:51.510 LIBERA01:ENV:ENV_GAIN_SP devAsynInt32 process error
../drv_libera_env.c:844 CSPI error in cspi_setenvparam: system-level
call failed (-5), No such file or directory (2)

Error ENV setting params for command 725, mask 20000
2024/01/11 01:50:51.520 LIBERA01:ENV:ENV_AGC_WRITE devAsynInt32 process
error
../drv_libera_env.c:92 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
../drv_libera_env.c:92 CSPI error in cspi_getenvparam: system-level call
failed (-5), No such file or directory (2)

Error ENV retrieving data
iocInit: All initialization complete
epics> ../drv_libera_env.c:92 CSPI error in cspi_getenvparam:
system-level call failed (-5), No such file or directory (2)

...


I seached for drv_libera;-env.c file. There is no source file or any
sign for CSPI in the source directory but it seems like object files
exist in static libraries:

  grep -rni 'drv_libera_env.c' /opt
Binary file /opt/epics-libera/lib/linux-arm/libliberaSupport.a matches
Binary file /opt/epics-libera/lib/linux-arm/libliberaSupport.so matches

It would be great if you can help me with this.

Thanks,
Irem


References:
drv_libera_env.c file of Libera Single Pass Hatice İrem Nalçak via Tech-talk

Navigate by Date:
Prev: Re: Generic EPICS IOCs Mark Rivers via Tech-talk
Next: Re: Generic EPICS IOCs Andrea michelotti 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  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: drv_libera_env.c file of Libera Single Pass Hatice İrem Nalçak via Tech-talk
Next: Generic EPICS IOCs Knap, Giles (DLSLtd,RAL,LSCI) 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  2019  2020  2021  2022  2023  <2024
ANJ, 16 Jan 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·