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  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Support for Lakeshore 625 Super Conducting Magnet Power Supply
From: "Pearson, Matthew R. via Tech-talk" <tech-talk@aps.anl.gov>
To: "Ivashkevych, Oksana" <oksana@bnl.gov>
Cc: Tech-talk <tech-talk@aps.anl.gov>
Date: Tue, 5 Feb 2019 23:07:32 +0000
Hi,

I’ll plan to add the 625 support to my GitHub for Lakeshore support. It’s currently not at the same standard as the 336/350 support, and does contain some SNS specific code (as you saw with the ‘slimsam’ SNL and template file - which is a particular superconducting magnet we use here), but I can add a generic version fairly easily.

The 625 database itself is fairly minimal and doesn’t provide any alarm management or support for put_callback on the field setpoint. For our particular application we managed that in an SNL program, which also manages the ramp and persistence switch heater logic. This provides a simplified user interface which basically just exposes the field setpoint & status to the user, which is all they need. Then, in the high-level scan logic, setting the magnet field and waiting for it to get there is as simple as:

caput -c -w 3600 Beamline:Magnet:Field 5

We didn’t want to expose the power supply control to the average user, as in general there are parameters that shouldn’t be changed, or things that need to happen in a particular order for a successful ramp. 

I believe some of the newer superconducting magnet power supplies deal with a lot of the ramping logic internally, so it’s less of an issue with the newer magnets.

Cheers,
Matt


> On Feb 5, 2019, at 3:41 PM, Ivashkevych, Oksana <oksana@bnl.gov> wrote:
> 
> Hi ,
> Thanks to Matt and Pierrick for sharing the drivers via tarballs. I have tested both drivers with 3.15.3 base, and below is the report. I think both should be exposed to the community: having two is better than none. I can add translated  .opi screens to Pierrick’ version and modifications I made to Matt’s. Please let me know.
>  
> I think we are using Matt’s ioc for Lakeshore335 from your personal git space. Please keep in mind, we tested only a small subset of the device functions. 
>  
> Building: 
> 	• Matt’s:  No Issues. Just for dummies. Make and ready. Removed some SNS specific applications, like slimsam. May be something else.
> 	• Pierrick’s: It was a bit of efforts to build. I had to figure out which libraries and. dbd to include.  Just like any driver from .proto and .db files.  I have created an IOC in my github space with references to where the driver came from.
> Database :
> 	• Matt has a lakeshore625_no_magnet.db to be loaded on the top on the lakeshore625.db  if power supply is shorted. We found that we don’t really need it, since the idea was to have a dry run of the real magnet including waiting while ramping.
> 	• Just one database.
> Dry Run without magnet connected (terminals are shorted):
> I have translated Pierrick’s .edl screens to .opi by autotranslator from SNS CSS. I have modified the shrift on all text widgets to auto, because it was too large as well as  how the new display is being opened. It was stand alone, I changed it to tab.  
> 	• Matt’s: The beamline scientist found appealing the simplicity and limited functionality on the GUI, because of less opportunity to mess up. It was inconvenient not to be able to set the limits, but later we figured out how to do so from a command line via caput. Configuration happens once. 
> 	• Pierrick’s:  everyone who came by was appealed by the gauges’ widgets. The beamline scientist liked so many functionalities exposed, especially he found the ramping ranges to be very nice. He was very concerned that the real users will have plenty of opportunities to screw up. I comforted him that GUI can be adjusted to user and expert.
> Real Run with the magnet will happen on February 15 with the friendly user. They couldn’t decide which one to pick at the moment and I suggested trying it on a friendly user.
>  
> Oksana 
> P.S. A wife buys 2 ties to her husband. He puts on one of them. “I knew, you wouldn’t like the other one!”, she says.
>  
>  
> From: Ivashkevych, Oksana 
> Sent: Tuesday, January 08, 2019 3:06 PM
> To: 'Mark Rivers' <rivers@cars.uchicago.edu>; Pierrick M Hanlet <hanlet@fnal.gov>; 'Pearson, Matthew R.' <pearsonmr@ornl.gov>
> Subject: RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply
>  
> Hi Mark,
> I do not mind.
> Let me take a look at both and Matt  or Pierrick could create a project.
> This is the difficult moment who is the one will be. Matt has opi files, Pierrick emd. Either way one would need to add.
>  
> I am using opi.
>  
> Perhaps Matt and Pierrick have some nice history and we could make it easy.
>  
> Thank you
> Oksana 
>  
> From: Mark Rivers <rivers@cars.uchicago.edu> 
> Sent: Tuesday, January 08, 2019 2:57 PM
> To: Ivashkevych, Oksana <oksana@bnl.gov>; Pierrick M Hanlet <hanlet@fnal.gov>
> Subject: RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply
>  
> Hi Oksana,
>  
> A logical place to put the support would be in the synApps “ip” module on Github.  This already contains the support for the LakeShore 330 and 340 series.
>  
> https://github.com/epics-modules/ip
>  
> Mark
>  
>  
> From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> On Behalf Of Ivashkevych, Oksana via Tech-talk
> Sent: Tuesday, January 8, 2019 1:51 PM
> To: Pierrick M Hanlet <hanlet@fnal.gov>
> Cc: Tech-talk <tech-talk@aps.anl.gov>
> Subject: RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply
>  
> Hi Pierrick,
> Thank you,
> Please share or point me to the location. 
> Matt sent me his work as a tarball.
>  
> Perhaps, I could test starting with the one which looks friendlier and one could create a single project on the github.     
> So far it looks like I need only a few things on the top of establishing communication: set field, go to zero and  show the current.  But may be with time it will expand.
>  
> I think it would nice to have a single driver on the github.
>  
> Oksana 
>  
>  
> From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> On Behalf Of Pierrick M Hanlet via Tech-talk
> Sent: Tuesday, January 08, 2019 2:35 PM
> To: tech-talk@aps.anl.gov
> Subject: Re: Support for Lakeshore 625 Super Conducting Magnet Power Supply
>  
> Hi Oksana,
> I have a driver based on Pete's original work; it includes edm gui's.
> Pierrick
> 
> On 1/8/19 1:08 PM, Ivashkevych, Oksana via Tech-talk wrote:
> Dear all,
> I was wondering if there is a support for Lakeshore 625. The supported hardware list shows Pete Owens as the maintainer of the driver, however, the link does not have an email to contact and no driver location either.
>  
> Thank you,
> Oksana 
>  
>  
> <image001.jpg>
>  
> 
> -- 
> --
> Pierrick Hanlet
> Fermi National Accelerator
> Accelerator Front End Controls
> +1-630-840-6577 -- lab
> +1-312-687-4980 -- mobile
>  
> "Whether you think you can or think you can't, you're right" -- Henry Ford


References:
Support for Lakeshore 625 Super Conducting Magnet Power Supply Ivashkevych, Oksana via Tech-talk
Re: Support for Lakeshore 625 Super Conducting Magnet Power Supply Pierrick M Hanlet via Tech-talk
RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply Ivashkevych, Oksana via Tech-talk
RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply Ivashkevych, Oksana via Tech-talk

Navigate by Date:
Prev: RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply Ivashkevych, Oksana via Tech-talk
Next: RE: Weird stream device behavior when using the IOC shell's exit function Abdalla Ahmad via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: RE: Support for Lakeshore 625 Super Conducting Magnet Power Supply Ivashkevych, Oksana via Tech-talk
Next: Re: https://ics-web.sns.ornl.gov/css/nightly/ down? Jignesh Patel via Tech-talk
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  <20192020 
ANJ, 06 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·