caget gives:
$ caget BL104:SE:LS:INTYPE0_SS
BL104:SE:LS:INTYPE0_SS Platinum RTD
The PV is a mbbo record.
--Ray
Ray Gregory
Data Acquisition and Controls
HFIR Instrument Operations
Instrument and Source Division
Neutron Sciences Directorate
Oak Ridge National Laboratory
Building 7964K Room 19
ph (865) 241-1116
cell (417) 827-6515
email:
[email protected]
Oak Ridge National Laboratory
1 Bethel Valley Road, MS-6430
Oak Ridge, TN 37830
What is the value of pvs[0] ?
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