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

Subject: Re: How to be warned when a record processing is ignored because already busy (PACT=1)
From: Ben Franksen <[email protected]>
To: [email protected]
Date: Tue, 30 Sep 2008 21:33:55 +0200
On Dienstag, 30. September 2008, haquin wrote:
> My problem is the following:
> Sometime though the last value is in the VAL field of the Waveform
> record it is not written via Modbus.
> I have already investigated on the Asyn/Modbus side, but it turns out
> that when the problem occurs Asyn/Modbus is not even called.
>
> It seems that the problem occurs when the Calcout record requests the
> Waveform record for a new Modbus write access but the Waveform record is
> still busy with the previous one...
> Can someone explain me how to be warned or informed when the processing
> request of a record is ignored because it is still busy (PACT=1).

I have no good answer for your question about diagnosing PACT state, but 
there is one thing you could do that might help solve your lost-writes 
problem: You can use "Async Soft Channel" support for the record that 
writes through the link. This will make the writing record asynchronous if 
the target record is, i.e. it will remain active (PACT=1) as long as the 
target record is active. OTOH, depending on your application this might 
merely push the problem upwards...

Cheers
Ben

References:
How to be warned when a record processing is ignored because already busy (PACT=1) haquin

Navigate by Date:
Prev: Re: An error when building EPICS base R3.14.9 on Solaris 8 Andrew Johnson
Next: Re: Question about a tutorial wiritten by Norum Ben Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to be warned when a record processing is ignored because already busy (PACT=1) Tim Mooney
Next: Question about a tutorial wiritten by Norum Silver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·