Experimental Physics and Industrial Control System
|
Hi Lewis,
about my previous problem I was wondering if I could do the conversion in one step with something similar as below (This does not work)
record(ao, "$(S):$(D)_$(C):CavVSet") { field(DTYP, "asynFloat64") field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))cavvolt") field(VAL, "0") field(PREC, "2")
} record(calcout, "$(S):$(D)_$(C):CavMilliVSet") { field(OUT, "$(S):$(D)_$(C):CavVSet PP") field(OCAL, "1000 * VAL")
field(PINI, "YES") field(PREC, "1") }
Actually I am doing as below, but I need a temporary record to perform this conversion, and It would be simpler to use one record less.
record(ao, "$(S):$(D)_$(C):CavMilliVSet")
{ field(DESC, "CavMilliVSet Temporary Set Record") field(PINI, "YES") field(EGU, "mV")
field(PREC, "1") } record(calcout, "$(S):$(D)_$(C):CavMilliVCalc") { field(OUT, "$(S):$(D)_$(C):CavVSet PP")
field(CALC, "1000 * A") field(INPA, "$(S):$(D)_$(C):CavMilliVSet.VAL CP MS") field(PINI, "YES")
}
Regards
- Replies:
- Re: Convertion for asynFloat64 J. Lewis Muir
- References:
- Convertion for asynFloat64 Benoit
- Re: Convertion for asynFloat64 J. Lewis Muir
- Re: Convertion for asynFloat64 Benoit
- Navigate by Date:
- Prev:
RE: areaDetector for a Basler GigE camera tom.cobb
- Next:
Job openings at PSI Dirk Zimoch
- 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: Convertion for asynFloat64 Benoit
- Next:
Re: Convertion for asynFloat64 J. Lewis Muir
- 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
|
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|