Experimental Physics and Industrial Control System
|
> In a Python BOY script for an OPI I can use the following code to print a console message:
>from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
>ConsoleUtil.writeInfo("This is a console message.")
>How can I do the same thing in a Display Builder script?
Check the display builder examples in /Display Builder/script_util.
Most times it's easiest to just
print("Hello")
which appears in the terminal window where you started CSS.
You can also do this, which appears in the Console of "Log Messages":
from org.csstudio.display.builder.runtime.script import ScriptUtil
ScriptUtil.getLogger().("Script has a problem")
ScriptUtil.getLogger().info("Script is at step 3")
-Kay
- Replies:
- RE: printing to console in Display Builder Gregory, Ray
- References:
- printing to console in Display Builder Gregory, Ray
- Navigate by Date:
- Prev:
printing to console in Display Builder Gregory, Ray
- Next:
RE: :tdir messages in ioc for Pmac 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:
printing to console in Display Builder Gregory, Ray
- Next:
RE: printing to console in Display Builder 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
<2018>
2019
2020
2021
2022
2023
2024
|
ANJ, 22 May 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|