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  <20132014  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  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: SEQ with dynamic assignment of PV in array variable
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Tue, 4 Jun 2013 16:01:44 +0200
Hi Mark

On Monday, June 03, 2013 21:33:35 Mark Rivers wrote:
> int   ReadArray[MAX_SIGNALS];
> assign  ReadArray to
>           {"","","","","","","","","","","","","","","","",
>            "","","","","","","","","","","","","","","",""};

This can be shortened to

> assign  ReadArray to {};

The general rule for

	assign arrayvar to {<pv-name-list>}

is that

* missing PV names in <pv-name-list> default to ""
* excess PV names in <pv-name-list> are discarded

This is now documented:

http://www-csr.bessy.de/control/SoftDist/sequencer/Reference.html#assign-
connect

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachm€nts

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
RE: SEQ with dynamic assignment of PV in array variable Mark Rivers
References:
SEQ with dynamic assignment of PV in array variable Emmanuel Mayssat
RE: SEQ with dynamic assignment of PV in array variable Emmanuel Mayssat
RE: SEQ with dynamic assignment of PV in array variable Mark Rivers

Navigate by Date:
Prev: iocLogServer connection problem on win32-x86 platform Janez Golob
Next: RE: iocLogServer connection problem on win32-x86 platform Hill, Jeff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SEQ with dynamic assignment of PV in array variable Benjamin Franksen
Next: RE: SEQ with dynamic assignment of PV in array variable Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·