Hi tech-talk,
I am new to epics, and using it to read data from a keithley scpi
multimeter.
I want to get one shot readings, not periodic ones. So, to
trigger an 'on-demand' measurement, I write a value to the .PROC
field of my passive record to trigger processing, then read the
value.
This works well, but I wonder if there is a 'read-data-now'
function in epics which I have overlooked ?
##### excerpt from .proto file :
# one shot measurement
measure {
ExtraInput = Ignore;
out ":measure:\$1?";
in "%f";
}
##### excerpt from .db file :
# read dc
voltage, triggered by putting a value to measure_v_dc.PROC
record (ai, "$(PORT):measure_v_dc") {
field (DESC, "voltage/dc one shot measurement")
field (DTYP, "stream")
field (INP, "@scpi_keithley_2000.proto
measure(voltage:dc) $(PORT)")
field (SCAN, "Passive")
}
--
Jérôme Poincheval poincheval at lpccaen.in2p3.fr tel:02.31.45.29.87
LPC Caen http://www.lpc-caen.in2p3.fr
- Replies:
- Re: newbie question : one shot measurement Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: [EXTERNAL] ScrollBar in Phoebus - cannot set $(pv_value) in script Kasemir, Kay via Tech-talk
- Next:
Re: newbie question : one shot measurement Michael Davidsaver 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:
Re: motorRecord with phytron support: record send goto 0 command before reference is done Kevin Peterson via Tech-talk
- Next:
Re: newbie question : one shot measurement Michael Davidsaver 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
|