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: AreaDetectors - ADPylon
From: Donny Domagoj Cosic via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: Jörn Dreyer <j.dreyer at hzdr.de>, tech-talk at aps.anl.gov
Date: Tue, 30 Apr 2024 16:04:13 +0200

Hi Mark,

Here is the output:

[epics@localhost iocPylon]$ ./st.cmd.ac1920_40gc 
./st.cmd.ac1920_40gc: line 2: syntax error near unexpected token `20000'
./st.cmd.ac1920_40gc: line 2: `errlogInit(20000)'


and the st.cmd file:

< envPaths
errlogInit(20000)

dbLoadDatabase("$(TOP)/dbd/pylonApp.dbd")
pylonApp_registerRecordDeviceDriver(pdbbase)

# The maximum image width; used for row profiles in the NDPluginStats plugin
epicsEnvSet("XSIZE",  "1280")
# The maximum image height; used for column profiles in the NDPluginStats plugin
epicsEnvSet("YSIZE",  "1024")
# Define NELEMENTS to be enough for a 1280x1024x3 (color) image
epicsEnvSet("NELEMENTS", "3932160")

# The CAMERA_ID can be either of the following:
#  Camera serial number
#  Camera index number, starting from 0
epicsEnvSet("CAMERA_ID", "23164488")

epicsEnvSet("GENICAM_DB_FILE", "$(ADGENICAM)/db/Basler_acA1920_40gc.template")

< st.cmd.base


Regards,

---

Donny Domagoj Cosic

Laboratory for Ion Beam Interactions
Ruđer Bošković Institute
Bijenička cesta 54 | HR-10 000 Zagreb | CROATIA
T: +385 1 4561 041 | @dcosic at irb.hr | www.irb.hr


Dana 2024-04-30 15:44, Mark Rivers je napisao(la):

Hi Donny,
 
  • However I am still not able to run the st.cmd file. I get the error "syntax error near unexpected token errlogInit(20000). 
 
Please send the complete output when the IOC starts up.
 
Mark
 
 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Donny Domagoj Cosic via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, April 30, 2024 8:29 AM
To: Jörn Dreyer <j.dreyer at hzdr.de>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: AreaDetectors - ADPylon
 
Hi Jörn,

Thank you for the suggestion. I am running the IOC in Linux and this is
correctly configured.
I was able to use Wong suggestion "make envPaths" to generate this file
successfully. However I am still not able to run the st.cmd file. I get
the error "syntax error near unexpected token errlogInit(20000). It
seems like it is not finding EPICS_BASE.

Any suggestions?
---
Donny Domagoj Cosic

Laboratory for Ion Beam Interactions
Ruđer Bošković Institute
Bijenička cesta 54 | HR-10 000 Zagreb | CROATIA
T: +385 1 4561 041 | @: dcosic at irb.hr | https://urldefense.us/v3/__http://www.irb.hr__;!!G_uCfscf7eWS!bPN0Ned2WfQtvKasArKYVt7OYnyHqT7oxl21oKlGVXBqR3BVyooTU0CR2HINIFvtQUtW8QTJ2biLujCV6jv-mPNCR_5Wrhbr$

Dana 2024-04-30 14:31, Jörn Dreyer via Tech-talk je napisao(la):
> Hi,
>
> if you look into the Makefile of the IOC, its configured for
> linux-x84_64.
> Are you running Linux or windows? If you are using Windows, you have
> to modify the Makefile accordingly.
> Otherwise the envPath file will not be created.
>
> Regards,
>
> Jörn
>
> Am Dienstag, 30. April 2024, 12:57:28 MESZ schrieb Donny Domagoj Cosic
> via Tech-talk:
>> Hello,
>>
>> I successfully compiled AreaDetects R3-13 and added the ADPylon option
>> into the config file with the path to the Pylon SDK (v7.4.0). The
>> ADPylon module was created and I followed the instructions for reading
>> the XML file from a Basler Camera and created the db and adl files
>> using
>> ADGenICam.
>> I modified the st.cmd file in the ADPylon IOC with the address of the
>> camera I want to connect to but when I run the st.cmd file I noticed
>> that the envPaths file is missing from the folder.
>>
>> Do I have to separately compile the ADPylon IOC? If I try this, I get
>> an
>> error that I am missing the Pylon library even though the path is
>> defined to "/opt/pylon/". Could this be because I am using a newer
>> version of Pylon SDK? Which version has been tested with this IOC?
>>
>> Additionally, after I start the IOC, how can I display the video from
>> the camera in CS-Studio Pheobus?
>>
>> Thank you in advance,
>>

Replies:
Re: AreaDetectors - ADPylon Mark Rivers via Tech-talk
References:
AreaDetectors - ADPylon Donny Domagoj Cosic via Tech-talk
Re: AreaDetectors - ADPylon Jörn Dreyer via Tech-talk
Re: AreaDetectors - ADPylon Donny Domagoj Cosic via Tech-talk
Re: AreaDetectors - ADPylon Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: AreaDetectors - ADPylon Mark Rivers via Tech-talk
Next: Re: AreaDetectors - ADPylon Mark Rivers 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: Re: AreaDetectors - ADPylon Mark Rivers via Tech-talk
Next: Re: AreaDetectors - ADPylon Mark Rivers 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, 30 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·