EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: initializing a waveform record
From: "Singleton, SJ (Steve) " <[email protected]>
To: "'Mark M. Ito'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Date: Mon, 5 Jul 2004 09:00:11 +0100
Hello Mark

I use EPICS subroutine (SUB) records to initialise waveform records, with
the attached code.  Because of the limitation on the number of arguments to
a SUB record it is only possible to initialise up to nine elements of the
array from one SUB record.  The arguments of the SUB record are as follows:

INPA - the waveform record
INPB - the index number of the first waveform element to be set up by this
SUB record.
INPC - the number of elements to be initialised by the SUB record, in the
range 1 - 9.
INPD to INPL - the values to which the elements are to be set.

Hope this helps.

Regards
Steve Singleton
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Mark M. Ito
Sent: 04 July 2004 02:14
To: [email protected]
Subject: initializing a waveform record


What is there a standard way to initialize the values of a waveform record?

I saw Andrei Liyu's post from this past Apr. 8. He seems to imply that 
the standard is to call dbPutField. Does one write a VxWorks subroutine 
to make this call and load the array?

The array is of floats, and will be about 100 elements long. The values 
are static; they never change.

I also looked at the waveform record description in the Record Reference 
Manual. That did not help me given my lack of basic understanding of 
this stuff.

I also skimmed the contents of the Application Developer's Guide. No 
help for me there either.

Attachment: pressArray.c
Description: Binary data


Replies:
Re: initializing a waveform record Gasper Pajor

Navigate by Date:
Prev: initializing a waveform record Mark M. Ito
Next: Re: initializing a waveform record Gasper Pajor
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: initializing a waveform record Mark M. Ito
Next: Re: initializing a waveform record Gasper Pajor
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·