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: SEQ with dynamic assignment of PV in array variable
From: Emmanuel Mayssat <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 3 Jun 2013 10:28:52 -0700
Hello,

I am working on a seq program.
For that program, I am interacting with magnet power supplies.
The interfaces to the power supplies are all the same (about 10 PV each).

For each interface PV, I would like do to something like this...

#define NB_OF_SUPPLIES  50
short enable[NB_OF_SUPPLIES];
assign enable[0] to "I:S001:PS:EnableBO";
assign enable[1] to "I:SO10:PS:EnableBO";
...
monitor enable;

but programmatically.

I looked at the docs and they are somewhat confusing.

Q: Is there a place to put the pvAssign statement?
Q: Should the array's cell be initialized/assigned to ""  during declaration?
Q: Can I monitor a not-yet configured PV array?
Q: How can I find out about the connection to each of the PVs?
etc.

If anyone has an example of using pvAssign on array variables (i.e. enable),  I would appreciate it.

Regards,
--
Emmanuel




Replies:
RE: SEQ with dynamic assignment of PV in array variable Emmanuel Mayssat
Re: SEQ with dynamic assignment of PV in array variable Benjamin Franksen

Navigate by Date:
Prev: RE: EPICS Archive appliance Emmanuel Mayssat
Next: RE: SEQ with dynamic assignment of PV in array variable Emmanuel Mayssat
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: Using Wind River's ICE 2 On-Chip Debugger with EPICS Ron Sluiter
Next: RE: SEQ with dynamic assignment of PV in array variable Emmanuel Mayssat
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 ·