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  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: combining long strings
From: "Sintschuk, Michael via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 1 Feb 2021 10:42:39 +0000

Hello EPICS-community,

 

I’m trying to find a solution for the following calculation:

 

record(scalcout,"$(exp):FilePath") {

  field(INAA,"$(exp):PathMenu.VAL CP")

  field(INBB,"$(exp):DateMenu.VAL CP")

  field(INCC,"$(exp):SampleMenu.VAL CP")

  field(INDD,"$(exp):OrientationMenu.VAL CP")

  field(INEE,"$(exp):EnergyMenu.VAL CP")

  field(INFF,"$(cam):$(format)1:FileNumber CP")

  field(CALC,"AA+BB+CC+DD+EE+FF")

  field(OUT,"$(cam):$(format)1:FilePath")

}

 

INAA to INFF are mbbo records that I want to use as dropdown-menus. Each time a dropdown-menu is changed by the user, the scalcout record recalculates the FilePath and puts the new path-string to the areaDetector FilePath record, which is a waveform. This would work fine, if there wasn’t the 40 character limitation for the scalcout-record, so the OUT field is cut. Each of the input fields is smaller then 40 character but combined (the actual path-string) is longer. Can anyone give me an example how to solve this, if possible? I searched the tech-talk but with no luck…

 

Regards

Michael  

 

Michael Sintschuk
Bundesanstalt für Materialforschung und –prüfung (BAM)
8.5 Mikro-ZfP

Unter den Eichen 87
12205 Berlin
GERMANY

P: +49 30 8104-5736 (BESSY, Adlershof)

P: +49 30 8104-4065 (BAM, Steglitz)
michael.sintschuk at bam.de

 


Replies:
Re: combining long strings Lang, Keenan C. via Tech-talk

Navigate by Date:
Prev: Re: EPICS Codeathon: March 8 to March 12 Ben Franksen via Tech-talk
Next: Re: Areadetector driver for AVT-Marlin Firewire Camera on Windows Malu, Sandeep Kumar (-, RAL, CLF) 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Re: Re: Re: Re: RE: Re: Re: modbus write registers error to Pilz PLC Mark Rivers via Tech-talk
Next: Re: combining long strings Lang, Keenan C. 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  <20212022  2023  2024 
ANJ, 13 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·