Thank you Kay,
Is pvAssign a version 2.2 addition?
I see it in 2.2 manual and do not in 2.1.
I could have an older version.
From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Friday, November 3, 2023 11:42 AM
To: Ivashkevych, Oksana <oksana at bnl.gov>; tech-talk at aps.anl.gov
Subject: Re: Sequencer interpretation of PV names with {,} characters
If there’s no way to escape macros, you might have to connect programmatically, see “pvAssign” in sequencer manual:
/* Initially, don’t assign */
double pv;
assign pv to “”;
/* Then later in some “init” state */
pvAssign(pv,
“XF:BM-ES{Psh_blade1}Pos”);
pvMonitor(pv);
SNL uses {macro} for macros, like the shell or database would use $(macro).
Not sure if there’s a way to escape curly brackets like “\{not_a_macro\}” …
Hello,
The PV names I would like to link to have {, } inside their names, e.g “XF:BM-ES{Psh_blade1}Pos”.
It appears that the sequencer module does not like the curly brackets.
The PV name inside my runTest.st file compiles well, but when I run the sequencer, the PV in question does not connect, with errors:
sevr=minor runTest[0](after 0 sec): assigned=1, connected=0, monitored=1, got monitor=0
Everything works if a PV does not have {} in its name.
I was wondering if someone could comment on it, where it could be happening, and if it is possible to patch may be.
Thank you
Oksana
|
- Replies:
- Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay via Tech-talk
- Re: Sequencer interpretation of PV names with {,} characters Ralph Lange via Tech-talk
- References:
- Sequencer interpretation of PV names with {,} characters Ivashkevych, Oksana via Tech-talk
- Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay via Tech-talk
- Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay via Tech-talk
- Navigate by Date:
- Prev:
ADPerkinElmer Bad Pixel Files Sintschuk, Michael via Tech-talk
- Next:
Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay 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: Sequencer interpretation of PV names with {,} characters Kasemir, Kay via Tech-talk
- Next:
Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay 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
|