<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Steve,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm not sure what the java error means, it seems like it might be something with the Eclipse environment ( Eclipse is the Java environment that CSS is built in) or the version of Java installed on the machine.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I can still take a look, though.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Would 3:00PM be a good time to come by your office?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Tyler<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Stephen Wood <saw@jlab.org><br>
<b>Sent:</b> Thursday, July 11, 2019 11:22 AM<br>
<b>To:</b> Tyler Lemon; epics, dsg-hallc<br>
<b>Subject:</b> Re: HV backup not working</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I copied and ran under the cvxwrks account. It made a backup just fine.<br>
<br>
I would like to deploy this for at least HV experts to use today. The <br>
speed at which the GUI starts up is a vast improvement on the TCL screens.<br>
<br>
Tyler, could you stop by my office or call. While everything seems to <br>
work fine, I am getting a bunch of java diarrhea. Perhaps the <br>
environment under cvxwrks isn't right, or I missed copying something <br>
from HV_Latest. I get this printed out periodically.<br>
<br>
2019-07-11 11:12:29.469 SEVERE [Thread 1] <br>
org.csstudio.logging.PluginLogListener (logging) - Unhandled event loop <br>
exception<br>
org.eclipse.swt.SWTException: Failed to execute runnable <br>
(java.lang.IllegalArgumentException: Argument not valid)<br>
<br>
<br>
Thanks, Steve<br>
<br>
<br>
On 7/11/19 9:45 AM, Tyler Lemon wrote:<br>
> Hi Steve,<br>
> <br>
> I've put the new version of the HV backup program on cdaql2 in <br>
> /home/cdsg/CSS-Workspaces/HV_Latest/CSS.<br>
> <br>
> I tested it out in a few different scenarios, and they all seemed to <br>
> work for me and the backup took ~30 seconds to complete. I also had to <br>
> make new versions of the backup and restore GUIs to run the new program. <br>
> The new versions of these files are also in <br>
> /home/cdsg/CSS-Workspaces/HV_Latest/CSS.<br>
> <br>
> For the new backup program, I also had to change the tcl2css.py program <br>
> to add a label to the list-view screens for each detector so there is a <br>
> new version of that, too, in /home/cdsg/tcl2css.<br>
> <br>
> If there is still trouble with this new backup program, please let us know.<br>
> <br>
> As a side note, I made the directory <br>
> /home/cdsg/CSS-Workspaces/HV_Latest. The current versions of all CSS <br>
> screens and scripts that are usable will be put here. This should <br>
> hopefully take out some confusion as to which directory contains the <br>
> latest versions of everything.<br>
> <br>
> Best regards,<br>
> Tyler<br>
> <br>
> <br>
> ------------------------------------------------------------------------<br>
> *From:* Dsg-hallc_epics <dsg-hallc_epics-bounces@jlab.org> on behalf of <br>
> Tyler Lemon<br>
> *Sent:* Wednesday, July 10, 2019 3:10 PM<br>
> *To:* Stephen Wood; epics, dsg-hallc<br>
> *Subject:* Re: [Dsg-hallc_epics] HV backup not working<br>
> Hi Steve,<br>
> <br>
> After we talked yesterday about the problems you came across with the <br>
> backup program trying to get the HV CSS screens integrated into Hall C's <br>
> Makefile, I started working on some changes to the HV backup program <br>
> that should fix most of the problem.<br>
> <br>
> The main change is that the backup program has been modified to do away <br>
> with using pyepics. It now uses only standard libraries and functions <br>
> that are automatically included in Python and CSS installations. This <br>
> makes it so there aren't any extra packages that would need to be <br>
> installed to use the program.<br>
> <br>
> In the CSS library, there was a function that gets the system path of <br>
> the CSS workspace, allowing the file path dependencies to be removed.<br>
> <br>
> I have also been able to remove the use of a channel reference text file <br>
> noted yesterday and the hardcoded group names/numbers in you previous <br>
> email by changing the program to get the record names from the .opi <br>
> files rather than a text file or previous backup.<br>
> <br>
> As for your previous email regarding the backup file containing only <br>
> headers and not PVs, I'll look to see if that is the case with the new <br>
> version and whether I can find the cause in the old version.<br>
> <br>
> There's a few more things to clean up in it (putting better comments, <br>
> making sure there's no redundant code), but when its done I will put the <br>
> new version on cdaql2.<br>
> <br>
> Best regards,<br>
> Tyler<br>
> <br>
> <br>
> <br>
> ------------------------------------------------------------------------<br>
> *From:* Stephen Wood <saw@jlab.org><br>
> *Sent:* Wednesday, July 10, 2019 11:45 AM<br>
> *To:* Tyler Lemon<br>
> *Subject:* HV backup not working<br>
> Tyler:<br>
> <br>
> In the copy of the scripts that I have under the cvxwrks account<br>
> (~cvxwrks/saw/EpicsHL/HV/CSS which comes from release5), backup is not<br>
> working. I just get headers, but no PVs. I traced it down to the line:<br>
> <br>
> if pv.split(':')[3] in props:<br>
> <br>
> which never succeeds.<br>
> <br>
> props is ['V0Setr','I0Setr','SVMaxr','RUpr','RDWnr']<br>
> <br>
> and none of the PVs tested end in "r". I could remove the r in the<br>
> props list, but technically it is the these readbacks that we want to<br>
> backup.<br>
> <br>
> <br>
> And for eventual improvement: I notice that you explicitly list group<br>
> numbers and names in HV-bur.py. (groups and systems lists). Ideally<br>
> these should not be hardwired into the script, but derived from<br>
> configuration files.<br>
> <br>
> I could arrange for my make file to put files like HMS.group, HMS.hvc,<br>
> SHMS.group and SHMS.hvc into the CSS directory and then you could search<br>
> for *.group and *.hvc to build up group and pv lists. But I am open to<br>
> however you want to do this.<br>
> <br>
> Thanks, Steve<br>
> <br>
> <br>
</div>
</span></font></div>
</body>
</html>