EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  1995  1996  1997  <19981999  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: SNC bug and question
From: [email protected] (Rozelle Wright)
To: [email protected], [email protected]
Date: Fri, 9 Jan 1998 09:43:55 -0700
> From [email protected] Fri Jan  9 09:04 MST 1998
> Date: Fri, 9 Jan 1998 10:04:31 -0600
> To: [email protected]
> Subject: SNC bug and question
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Md5: aHZIzYoox0WZ8v5s9EuwyA==
> X-Lines: 32
> 
> I just discovered the following bug in SNC under epics 3.13:
> 
> The sequence program contains the following "for" statement:
> 
> 
>                 for( i=0, j=0; i<1296; i++) {
>                 
> 
> SNC places the following in the generated *.c file:
> 
> 
>                for (i = 0; i < 1296; i++) {
>                
> 
> Note the j=0 initialization is dropped. Needless to say, nothing good happens
> when a statement such as:
> 
>                FilledBuckets[j++] = i;
>                
> is within the "for" loop;i.e, memory is sequentially trashed as j gets 
> incremented.
> 
> The SNC under epics 3.12 generated the correct c code.
> 
> 
> The question:
> 
> Is there a way to identify unconnected process variables in a sequence
> program without stepping through every channel using seqChanShow? This
> gets pretty laborious when a state program has lots of pv's (100 - 200).
> 
> Frank
> 
Hi Frank,

1. To answer your question first:
Type 
SeqChanShow "< sequence program name>","-"

This will show all the unconnected channels.

This feature is not described in the manual and should be.  I think
I can persuade people here to upgrade the web pages to reflect the
additional feature.

2.  William Lupton is maintaining the sequencer now that Andy Kozubal has
left our group.  I did call Andy and he gave me some idea about where to
look for the problem and I will pass that information onto William.

Rozelle

---------------------------------------------------------
|                                                       |
|Rozelle Wright              Phone (505) 667-4804       |
|Los Alamos Natl Labs LANSCE-8  FAX (505) 665-5107      |
|PO Box 1663 MS-H820         Group Office (505) 667-6087|
|Los Alamos, NM 87545        email : [email protected]   |
|                                                       |
---------------------------------------------------------
  





Navigate by Date:
Prev: Re: SNC bug and question Peregrine McGehee
Next: Re: SNC bug and question William Lupton
Index: 1994  1995  1996  1997  <19981999  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: SNC bug and question Peregrine McGehee
Next: Re: SNC bug and question William Lupton
Index: 1994  1995  1996  1997  <19981999  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 ·