EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  <19951996  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  Index 1994  <19951996  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 
<== Date ==> <== Thread ==>

Subject: Re: help with ar
From: [email protected] (Deb Kerstiens)
To: [email protected]
Cc: [email protected]
Date: Thu, 19 Oct 95 10:04:02 MDT
Ian wrote:
> 
> I've just started to use ar and can't get my script to work properly:
> 
> NAME: ser2
> DESC: test it
> ACT: always
> INACT: never
> TRIGGER: every 0:0:5
> SNAPSHOT: for 1 samples
> OUTPUT: set:txt ar/arSet/test.txt
> %endHeader%
> ser2:emosub_44.VALA
> 
> It validates ok and when added to the main pannel successfully gets its 
> first sample: 'snapshot complete...' and data is written to the file.  It 
> then says: 'snapshot sampling...' but never gets anything.  If I ask for 
> status|show sampling state it saya: 'snapshot in progress; 0 samples, 
> last at 00:00:09.000'
> 
> the ADEL for the record is set to 0.
> 
> Anybody have any ideas?
> 
> thanks
> 
> Ian A Smith			Telephone: +44 (0) 131 668 8257
> Royal Observatory		Fax:       +44 (0) 131 668 1130
> Blackford Hill			Web:       http://www.roe.ac.uk/
> Edinburgh
> UK
> 
> 

Rozelle wrote:
>The archiver won't take samples unless ser2:emosub_44.VALA is changing.
>I think this is a bug, but it is the way it works.  If you
>want to take samples where some channels are changing and some are not,
>you can put F (for fill) in front of the ones that are not changing .

>For example if you have a counter calc record named "counter" 
>that is being scanned  (and changed) more often than once every 5 seconds
>the following should get samples

I agree that you must have at least one chan specified that is returning
monitors frequently enough to meet your sample time.
  
One additional note: for processing to return data based on ADEL even when 
no change has occurred, ADEL must be set < 0.0 for analog-type data.
The comparision is done on a delta > 0.0 (not >=0.0).

Deb


**********************************************************************
Deb Kerstiens		[email protected]
Phone			(505)667-3396
LANL AOT-8,MSH820	PO Box 1663, Los Alamos, NM. 87545 
**********************************************************************


Navigate by Date:
Prev: Re: application error codes Jeff Hill
Next: Re: application error codes Jeff Hill
Index: 1994  <19951996  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: Re: help with ar Rozelle Wright
Next: MBBO record support Peregrine McGehee
Index: 1994  <19951996  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, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·