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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: question of data conversion
From: Remi Faure <[email protected]>
To: bob dalesio <[email protected]>, Ralph Lange <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Mon, 27 Jun 2016 13:59:40 +0200
Hi again,

I Tested ASLO and AOFF without success with LINR=LINEAR.
I changed LINR=SLOPE, now it works fine.

Thank you for quick help!

Remi FAURE


Le 27/06/2016 à 12:32, bob dalesio a écrit :
And set LINR appropriately. 
This chapter of the Record Reference Manual are also appropriate:

On Mon, Jun 27, 2016 at 5:32 AM, Ralph Lange <[email protected]> wrote:
Hi Remi,

Have a look at the "Convert and Write Parameters" section of the ao record documentation at

https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Analog_Output#Convert_and_Write_Parameters

LOPR/HOPR are giving hints about the expected value range to applications, they do not affect conversion.
You should use EGUL/EGUF or ESLO/EOFF.

Cheers,
~Ralph



On 27/06/2016 10:40, Remi Faure wrote:
Hi,

I have a simple question. All the examples I found about EPICS data convertion starts from raw value (DAQ) to engineering unit value.

I don't arrive to make the opposite in a simple way. I want to write a numerical data from CSS boy to an output value of a plc.

For instance I tried a longout or ao record , wich is passing directly the 0/4095 value correctly. When I try to pass a 0/100% value and try convert it in 0/4095 with LOPR, HOPR fields it fails.

In attachement a simple drawing of what I want to make here.

Thank you in advance for help.

Remi FAURE

LPSC Grenoble






Replies:
Re: question of data conversion Ralph Lange
References:
question of data conversion Remi Faure
Re: question of data conversion Ralph Lange
Re: question of data conversion bob dalesio

Navigate by Date:
Prev: Re: question of data conversion bob dalesio
Next: Re: IOCs under procServ as system services under systemd? Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: question of data conversion bob dalesio
Next: Re: question of data conversion Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·