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: seq 2.3.0 with dynamic PV-array assignment?
From: "Laznovsky Michael (PSI)" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 20 Jun 2016 09:13:18 +0000
Hi- just wondering if anyone out there is using seq version 2.3.0 with dynamic PV assignment
from PV arrays?  The "snc" compiler generates code with missing arguments to seq_pvAssign()
and seq_pvMonitor(), which of course then doesn't compile.
 
foo.st:
        float pv_PS_MODE [ 48 ];
        assign pv_PS_MODE to "" ;               // will be dynamic
        ...
        pvAssign ( pv_PS_MODE [i], buf );       // char buf[] == PV name
        pvMonitor( pv_PS_MODE [i] );
 
snc: foo.st -> foo.c:
        static float pv_PS_MODE[48];
        static CH_ID seqg_chid_pv_PS_MODE;
        ...
        seq_pvAssign(seqg_env, , buf);
        seq_pvMonitor(seqg_env, );
 
I'm asking in case someone may have seen this, and has a work-around. My alternatives are to revert
to an earlier version (does 2.2 work OK for this?), or use a clumsy scalar-PV implementation.
 
thanks
Mike
 
-----
 
 
 

Replies:
RE: seq 2.3.0 with dynamic PV-array assignment? Laznovsky Michael (PSI)

Navigate by Date:
Prev: RE: Caget packet structure Stephen Molloy
Next: Re: EPICS connect to PLC:Illegal field value PV ;Connection timed Nick Levchenko
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: Caget packet structure Stephen Molloy
Next: RE: seq 2.3.0 with dynamic PV-array assignment? Laznovsky Michael (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, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·