Hi folks,
One of my next steps is to get polarity reversal working on the Heinzinger supplies. I've got the attached bob file where I am hoping to use the slider to tune the beam. The PCUs want me to send a negative value to indicate one polarity and a positive value to indicate the opposite polarity. The command 'DA 0,025000' will run the supply to 25A. The command 'DA 0,-025000' will reverse the polarity switch and run the supply to 25A (the software on the supply takes care of running everything down before switching). I would prefer not to have a slider that goes from -300 to 300. This makes it harder to run the supply down to 0 and is also more confusing for operators. My thought is to implement a toggle button and display which deflection the user has selected. I think I can then add a CALC record to set the sign of the number as positive or negative, and then send that composite out to the instrument. Does it sound like I'm on the right track or feedback on how you've accomplished something like this?
Greg
--
Gregory Leblanc
Accelerator Engineer
Edwards Accelerator Lab - Ohio University
123 University Terrace
Athens, OH 45701 USA
leblanc at ohio.edu
M: (401) 52-OUAL1 or (401) 526-8251
Attachment:
Analyzer_Magnet.bob
Description: Analyzer_Magnet.bob
- Navigate by Date:
- Prev:
RE: [EXTERNAL] Re: starting IOC with systemd Leblanc, Gregory via Tech-talk
- Next:
Question about fetching history data from MySQL by using phoebus neu lzf 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
2019
2020
2021
2022
<2023>
2024
- Navigate by Thread:
- Prev:
Looking for idiomatic/maintainable pattern for ai/ao record unit conversion Érico Nogueira Rolim via Tech-talk
- Next:
RE: [External] Re: Use phoebus toggle to adjust sign for ao record? Leblanc, Gregory 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
2019
2020
2021
2022
<2023>
2024
|