Experimental Physics and Industrial Control System
|
Hello Kay
Thank you for your response.
For the simulated PV I found it in the documentation, I found it
straightforward, I did a simple Proof-of-Concept and it should do the thing.
For the PVManager API, I did some search and could not figure out how to
use it in a python script, also I did not get much documentation on what
API functions available, most of the result I found were on how to use
it inside Java code. Do you have any reference on using this API inside
a script?
Thanks in advance!
Abdalla.
On 02/29/2016 04:38 PM, Kasemir, Kay wrote:
Hi:
On Feb 29, 2016, at 7:57 AM, Abdalla Al-Dalleh <[email protected]> wrote:
Is it possible to read a PV value using its string name?
Check the PVManager functions.
There’s something like pv(‘name of PV’) for that.
In a PVManager formula, you can use (note the backquotes)
=`name of PV` + 5
2nd Related question, as you all know, when you add a script to CSS it is executed (by default) on a trigger from a PV you add. How to have the same idea but without PVs? i.e., executing a script continuously without an external trigger so for example to update a widget's text value.
You can use “sim:ramp” as a PV that periodically triggers your script.
So it’s still a PV, but one that’s simulated inside CSS.
See online help for description on the simulated PV syntax.
-Kay
- Replies:
- Re: Questions regarding PV access within CSS Kasemir, Kay
- References:
- Questions regarding PV access within CSS Abdalla Al-Dalleh
- Re: Questions regarding PV access within CSS Kasemir, Kay
- Navigate by Date:
- Prev:
RE: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time. Mark Rivers
- Next:
read value from ai record to Device support ishita bhatia
- 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: Questions regarding PV access within CSS Kasemir, Kay
- Next:
Re: Questions regarding PV access within CSS Kasemir, Kay
- 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
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|