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  <20182019  2020  2021  2022  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: error calling PVUtil.getString()
From: Mark Engbretson <[email protected]>
To: "'Gregory, Ray'" <[email protected]>, <[email protected]>
Date: Mon, 7 May 2018 14:11:18 -0500

What is the value of pvs[0] ?

 

From: [email protected] <[email protected]> On Behalf Of Gregory, Ray
Sent: Monday, May 7, 2018 2:02 PM
To: [email protected]
Subject: error calling PVUtil.getString()

 

In a CSS BOY OPI I am calling PVUtil.getString() from a script attached to my OPI. I am passing it one of the script’s PV values:

 

Line

22           from org.csstudio.opibuilder.scriptUtil import PVUtil, ScriptUtil

23

24           sensor_type = PVUtil.getString(pvs[0])

 

However I am getting the following error:

 

Traceback (most recent call last):

  File "scripts/lakeshore_input_setup_monitor.py.py", line 24, in <module>

TypeError: getString(): 1st arg can't be coerced to org.csstudio.simplepv.IPV

 

What does this mean?

 

--Ray

 


Replies:
RE: error calling PVUtil.getString() Gregory, Ray
References:
error calling PVUtil.getString() Gregory, Ray

Navigate by Date:
Prev: error calling PVUtil.getString() Gregory, Ray
Next: RE: error calling PVUtil.getString() Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: error calling PVUtil.getString() Gregory, Ray
Next: RE: error calling PVUtil.getString() Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 07 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·