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

Subject: CSS gets freeze while running a script
From: palak shimpee <[email protected]>
To: [email protected]
Date: Fri, 30 Sep 2016 11:17:01 +0530
In CSS I am running a python code and CSS is getting freeze as I already have got a suggestion to run the code outside CSS. But please can you help me how I can do it. Code is as below: 

from org.csstudio.opibuilder.scriptUtil import PVUtil
import os,sys
import subprocess
import glob
from os import path
from datetime import datetime
while (pv0==TRUE)
pv=PVUtil.getDouble(pvs[1])
i = datetime.now()
sys.stdout=open("test2.txt","wb")
print str(i), pv, pv, pv, pv, pv
sys.stdout.close()  

Replies:
Re: CSS gets freeze while running a script Matt Newville

Navigate by Date:
Prev: HTTP access to control systems screens Jonathan Hanks
Next: Re: CSS gets freeze while running a script Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: HTTP access to control systems screens Ryan Slominski
Next: Re: CSS gets freeze while running a script Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 30 Sep 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·