Dear Mooney
Thank you for your reply.
Fortunately, The previous error (i.e. "readvoltage" not defined?) has gone but I am getting another error now. As highlighted in the following.
My code is as follows.
########################################################### from org.csstudio.opibuilder.scriptUtil import PVUtil
value1 = PVUtil.getDouble("readvoltage")
....
.....
TypeError: getDouble(): 1st arg can't be coerced to org.csstudio.utility.pv.PV
I put the PV in inverted commas as mentioned by you, which has eleminated the previous error but now it gives me the above error.
Should I include some extra libraries etc ??
Looking forward for the solution.
Thank you.
- References:
- CSS: Can not access PVs in python script sahil jee
- RE: Can not access PVs in python script Mooney, Tim M.
- Navigate by Date:
- Prev:
RE: Can not access PVs in python script Mooney, Tim M.
- Next:
Fwd: Can not access PVs in python script sahil jee
- 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: Can not access PVs in python script Mooney, Tim M.
- Next:
Fwd: Can not access PVs in python script sahil jee
- 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
|