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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: related to controls in edm |
From: | Rod Nussbaumer <[email protected]> |
To: | [email protected] |
Date: | Fri, 27 Mar 2015 08:26:13 -0700 |
Priya:We often do this kind of thing using a scripting language such as Perl. The EDM button is a 'Shell Command' widget, and it launches the Perl script to perform the sequencing. The Perl script uses the EPICS Channel Access module to read and write the accordant EPICS PVs for performing the sequencing. Naturally, the script runs on the host that is running EDM.
While it seems desirable to implement everything using EPICS record logic that runs on the IOC, it is invariably too complex to implement that way. Other labs often use the SNL facility for such purposes, and that is potentially a better method. Hopefully others will contribute ideas about how to implement that.
Rod Nussbaumer TRIUMF, Vancouver, Canada On 03/27/2015 05:39 AM, Mooney, Tim M. wrote:
Hi Priya, I would do this with a sscan record. See http://www.aps.anl.gov/bcda/synApps/sscan/sscanDoc.html Tim Mooney ([email protected]) (630)252-5417 Software Services Group (www.aps.anl.gov) Advanced Photon Source, Argonne National Lab ------------------------------------------------------------------------ *From:* [email protected] [[email protected]] on behalf of priya tiwari [[email protected]] *Sent:* Friday, March 27, 2015 1:26 AM *To:* [email protected] *Subject:* related to controls in edm Hello sir, I am beginner in EDM and I want to add a button in EDM. When I will press the button then my progam should be start otherwise should not be start. In case of my program, I am going from 10 mA(i.e. initial value in current source) to 120 mA(i.e. final value) with step of 10.How to use message button which act as a START button of my program and this should be press(toggle) only one time and program should be proceed and also I want to add stop button so that when press stop then whole program should be stop.How to perform this task ,I have no idea because for loop or while loop does not work in VDCT directly. Please provide example for this type of task. Thanks in advance......