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  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Phoebus Slider
From: "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 11 May 2023 21:42:48 +0000
Hi folks,

I've finally gotten EPICS chatting reasonably with my Keysight 34980A mainframes, both to read data through one of the MUX cards, and now to output voltages through the DAC.  My next step is to start building some interfaces.  Reading in and graphing some data trends went quite well using the examples and modifying them to use PVA://myPVname.  I'm having more trouble getting output sent out to my PVs.

I started with the "Incremental Controls"/spinner slider scrollbar and looked at modifying the scaled slider horizontal widget.  I modified it to use PVA://KS_34980A_EPICStestwriteOutput1 and adjusted the values to go from 0 to 16 in 0.1 increments, and turned off the hi/lo labels.  However, when I try to drag the slider, it pops back to 0 immediately when I release the mouse button.    Using the keyboard makes the slider move but doesn't change the PV.  

I can write to that PV using 'pvput KS_34980A_EPICStestwriteOutput1 #' and see that it does indeed update, so I think I must be doing something wrong in Phoebus.  I've attached my slider.bob file.  The record that I'm writing to looks like: 

record(ao, "$(P)$(R)writeOutput1") {
    field(DESC, "Write to Test Output 1")
    field(DTYP, "stream")
    field(PREC, "3")
    field(EGU,  "Volts")
    field(SCAN, "Passive")
    field(OUT, "@devKS_34980A_EPICS.proto setSourceVoltage(%E,2001) $(PORT) $(A)" )
    field(PINI, "YES")
    field(VAL, "0")
    field(FLNK, "$(P)$(R)readOutput1")
}


Any pointers are greatly appreciated, 
     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: slider.bob
Description: slider.bob


Replies:
Re: Phoebus Slider Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: [External] Looking for a Water (LCW) Leak Sensor for machine interlock Kevin Jordan via Tech-talk
Next: Re: Why does libca.so depend on libreadline.so? Ralph Lange 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  <20232024 
Navigate by Thread:
Prev: RE: Looking for a Water (LCW) Leak Sensor for machine interlock Guerrero, Christopher via Tech-talk
Next: Re: Phoebus Slider Mark Rivers 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  <20232024 
ANJ, 19 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·