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: Force one record to run before all others
From: Andrew Johnson <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Thu, 14 Apr 2016 11:13:22 -0500
Hi Kathryn,

On 04/14/2016 10:43 AM, [email protected] wrote:
> I have just written an Asyn driver for the Lambda TDK Genesys power
> supply, and I got it working after realising that before I can get it to
> do anything with comms I have to address it properly. This is RS232
> comms, but for some reason these PSUs seem to demand that the first
> command I send it when trying to interact with it is an “ADR” command
> with its RS485 address.

You are using the RS232 interface, but it might be good to ensure that
your driver works with RS485-connected devices on a shared bus. I'm not
sure what the standard Asyn way is of doing that, but you may have to
include the ADR command in the Stream protocol as part of every command
(since some other record that addresses a different device may get
processed in between sending your command strings). Mark Rivers' answer
may be a better solution for the RS232-only or non-shared RS485 case.

> So, the simple version of the question:
> 
> Does PINI respect the PHAS field?

Yes, since R3.14.11 — the RELEASE_NOTES.html file for any Base-3.14
version since then has a discussion on those changes.

- Andrew


-- 
There are only two hard problems in distributed systems:
  2. Exactly-once delivery
  1. Guaranteed order of messages
  2. Exactly-once delivery
 -- Mathias Verraes

Replies:
RE: Force one record to run before all others kathryn.baker
Re: Force one record to run before all others Michael Davidsaver
References:
Force one record to run before all others kathryn.baker

Navigate by Date:
Prev: RE: Force one record to run before all others Mark Rivers
Next: Re: Force one record to run before all others Eric Norum
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: Force one record to run before all others Eric Norum
Next: RE: Force one record to run before all others kathryn.baker
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 ·