You could also create a separate IOC-like application that has its own iocInit() function that being local would prevent the normal one from being built in, and would do the
dbl operation for you.
There would still be a problem with running any device configuration commands that are also called before iocInit though; many of them will try to make connections to the hardware.
- Andrew
--
Complexity comes for free, Simplicity you have to work for.
On 7/24/26, 3:56 AM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:
On 7/24/26 09:04, Ralph Lange via Tech-talk wrote:
I know you can
echo "exit" | softIoc ./st-dbl-only.cmd
but that is not really elegant, needs a Linux-ish shell, ...
We are talking build-time here, so you are supposed to have a shell available. If you want a bit more elegance, you can omit the echo and redirect stdin to the script
softIoc < st-dbl-only.cmd
Using input redirection will quit the IOC because stdin is closed when it reaches end of file. You don't even need the exit command at the end.
Best,
Jure
- References:
- Create record name manifest during build David Bracey via Tech-talk
- Re: Create record name manifest during build Mark Rivers via Tech-talk
- Re: Create record name manifest during build Pierrick Hanlet via Tech-talk
- Re: Create record name manifest during build David Bracey via Tech-talk
- Re: Create record name manifest during build Jure Varlec via Tech-talk
- Re: Create record name manifest during build Ralph Lange via Tech-talk
- Re: Create record name manifest during build Ralph Lange via Tech-talk
- Re: Create record name manifest during build Jure Varlec via Tech-talk
- Navigate by Date:
- Prev:
Re: Modbus Module issue Mark Rivers via Tech-talk
- Next:
Re: Modbus Module issue Luis Alberto De Sousa Moreira 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
2025
<2026>
- Navigate by Thread:
- Prev:
Re: Create record name manifest during build Jure Varlec via Tech-talk
- Next:
Re: Create record name manifest during build Anders Lindh Olsson 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
2025
<2026>
|