Experimental Physics and Industrial Control System
|
I don’t think you can do these types of conversions with the asynFloat64 device support for the ao record. devasynFloat64.c::initAo always returns 2, which means “do not
convert”. In aoRecord.c that means that LINR is always left at the default value of menuConvertNO_CONVERSION. So this means that the ao record never does any conversions with the asynFloat64 deice support.
Mark
I would like to use mV in my EPICS folder and send V to my driver.
I have done conversion correctly using asynInt32 type but it doesn't work with asynFloat64.
Do you have any suggestion?
record(ao, "$(S):$(D)_$(C):CavVoltSet")
{
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))cavvolt")
field(PINI, "YES")
field(LINR,"SLOPE")
field(ESLO,"0.001")
field(PREC, "2")
}
field(LINR,"SLOPE")
field(ASLO,"0.001")
field(LINR,"LINEAR")
field(EGUF,"1000")
field(EGUL,"0")
But nothing seems to change when I receive my value in my asynPortDriver.
|
- Replies:
- Re: Convertion for asynFloat64 Andrew Johnson
- References:
- Convertion for asynFloat64 Benoit
- Navigate by Date:
- Prev:
Convertion for asynFloat64 Benoit
- Next:
RE: Substitutions defaults and tricks Emmanuel Mayssat
- 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:
Convertion for asynFloat64 Benoit
- Next:
Re: Convertion for asynFloat64 Andrew Johnson
- 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
·
|