EPICS Home

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  2016  <20172018  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  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: snl 2.2.4 question
From: Pierrick Hanlet <[email protected]>
To: Tech Talk <[email protected]>
Date: Tue, 31 Jan 2017 18:03:58 +0000
Hi,
I have a number of records over which I'm looping to assign values to fields such as alarm limits.
The records and fields are assigned and then I assign a pointer to a struct to each of these so
as to be able to loop over them.

However, I  also have some records in this list which don't have these fields; e.g. binaries and
so there is no connection the missing fields, but still to the PV.  So, within the loop, before writing
a seq_pvPut(), I'd like to check if there is a valid connection to the field.  I've tried
seq_pvConnected(ss_id,ndx+i) and seq_pvAssigned(ss_id,ndx+1), where ndx is
the PV and ndx+1 is assigned to the different fields of that PV.

Any ideas?
Thanks,
Pierrick

--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+44-(0)1235-44-5550 (RAL)
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-888-0185/+44-(0)79-48-860-197 (US/UK mobile)

Replies:
Re: snl 2.2.4 question Benjamin Franksen

Navigate by Date:
Prev: Re: How to write multi value in a caput message? Pearson, Matthew R.
Next: pvaPy conda recipe? Lentz, Zachary L
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to write multi value in a caput message? Pearson, Matthew R.
Next: Re: snl 2.2.4 question Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024