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: asyn R4-30 available
From: Mark Rivers <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Fri, 26 Aug 2016 04:10:01 +0000
Folks,

asyn R4-30 is now available.

asyn is available on github here:
https://github.com/epics-modules/asyn

tar and zip files are available here:
https://github.com/epics-modules/asyn/releases

Links to the new documentation and release notes are here:
http://www.aps.anl.gov/epics/modules/soft/asyn/


These are the items from the R4-30 release notes:

asynDriver
- Added new fields to the asynUser structure. These are int alarmStatus and int alarmSeverity. They are intended to pass alarm information back to device support, independent of the status return from the write() or read() methods or the auxStatus field used for callbacks.


devEpics
- Previously when the status return or auxStatus were not asynSuccess then device support did not update the value, and set the record STAT and SEVR based upon rules in the generic device support. If the new alarmStatus and alarmSeverity fields are 0 (default) then the current behavior is retained. If these fields are non-zero, then the record STAT and SEVR will be set to these values, independent of the status return or the auxStatus values. This allows a driver to set the record value, while still setting the STAT and SEVR to values other than NO_ALARM. The behavior of the function asynStatusToEpicsAlarm() was changed, and this function is now always called at the end of the process() function, even if the status or auxStatus is asynSuccess.


asynPortDriver
- Added new methods setParamAlarmStatus(), setParamAlarmSeverity, getParamAlarmStatus(), getParamAlarmSeverity to write and read the new pasynUser->alarmStatus and pasynUser->alarmSeverity fields.
- Changed the constructor so that it sets the ASYN_MULTIDEVICE flag if maxAddr>1 even if the caller neglected to set it.
- Fixed destructor eliminate memory leaks. Thanks to Henrique Almeida.


devAsynOctet
- Added support for initial readback from driver for stringout and waveform output records to support bumpless reboots. This support is only enabled if the info tag asyn:INITIAL_READBACK is present for these records in the database. The testErrorsApp application was updated to test this feature.
- Check that FTVL is CHAR or UCHAR and return an error in init_record if it is not.
- Changed the waveform record device support asynOctetWrite to only support string output. The numchars argument in pasynOctet->write() is obtained by calling strnlen(). This makes it consistent with the behavior of the stringout record.
- Added a new waveform record device support asynOctetWriteBinary. This passes numchars=NORD and does not call strnlen(), so it should be used for binary data.


drvAsynSerialPort
- Added support for RS-485 on Linux. This is only supported on ports with hardware RS-485 capability, and only on more recent Linux kernels. Thanks to Florian Feldbauer. The following new options were added for the asynOption interface in this driver.
rs485_enable Y/N
rs485_rts_on_send Y/N
rs485_rts_after_send Y/N
rs485_delay_rts_before_send msec_delay
rs485_delay_rts_after_send msec_delay


testErrorsApp
- Added new records AlarmStatus and AlarmSeverity that allow this driver to test the new alarm handling behavior.


Mark


Navigate by Date:
Prev: Re: OS X edm/medm openmotif woes Jiro Fujita
Next: Re: OS X edm/medm openmotif woes 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  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS driver for Mitsubishi FX3G PLC Kyle Lanclos
Next: Control System Job Opening at PSI, Switzerland Rees Simon (PSI)
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, 26 Aug 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·