Dear All;
I have a simple question about the dynamic assignment in SNL.
I have array variables and those variables have been assigned PVs as the
followings.
double pvs[50];
assign pvs to { "pv1", ... , "pv50"};
monitor pvs;
evflag mon_flag;
sync pvs mon_flag;
I need to replace some of PVs during runtime. Thus, I am going to use
dynamic assignment like as the followings.
pvAssign(pvs[i], pv_name_string[i]); pvMonitor(pvs[i]);
My question is the following:
If I replaced some PVs in the array with the dynamic assignment, Is the
sync statement on the event flag still valid?
I am going to put the pvMonitor statement for the replaced things, Is it
enough to make the event flag keep working?
Thank you.
Best regards,
Kukhee
--------------------------------------------
Kukhee Kim
SLAC National Accelerator Laboratory
2575 Sand Hill Rd, MS 50
Menlo Park, CA 94025
Email: [email protected]
Phone: (650)926-4912
- Replies:
- RE: SNL Question: dynamic assignment and event flag Mark Rivers
- Navigate by Date:
- Prev:
RE: error building mca6-11 Mark Rivers
- Next:
RE: SNL Question: dynamic assignment and event flag Mark Rivers
- 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: DEC driver DMA Underflow Jeff Hill
- Next:
RE: SNL Question: dynamic assignment and event flag Mark Rivers
- 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
|