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  <20082009  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  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ioc reading data from files
From: Dirk Zimoch <[email protected]>
To: Pierrick Hanlet <[email protected]>
Cc: [email protected]
Date: Wed, 22 Oct 2008 11:03:32 +0200
Hi Pierrick,

Are you talking about waveforms? In that case you can use the device support in the attachment. (Its not yet an EPICS style module, its just some files. Create your own Makefile).

Dirk

Pierrick Hanlet wrote:
Hi,
I'm pretty new at this.

Presently, I have epics on my laptop with files with raw test data.  I have
learned to run the (ioc in one window) and then ask a ca client (in another
window) to read the data into the database.  I also have an edm panel
displaying the data.

Ultimately, the data won't be read from flat files, so I want the ioc to open
and read the data files.  My intent to accomplish this with a subroutine in
the ioc, and later to replace that subroutine with the appropriate routines
that call the correct drivers.  This will allow me to incrementally develop
my code.

Until the hardware is all in place, I can use my simple setup to develop my
edm panels, etc.  Does anyone have advice, or preferably working examples,
of code that reads files from into ioc and the ioc writes the data to the database?

Thanks,
Pierrick

-----------------------------------------------------------------------------------------
Pierrick Hanlet
Fermilab, P.O. Box 500, M.S. 122
Batavia, IL 60510
[email protected]
(630)840-5555/8871/6039 office/lab/fax http://www-d0.fnal.gov/~hanlet


"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford



-- Dr. Dirk Zimoch Paul Scherrer Institut, WBGB/006 5232 Villigen PSI, Switzerland Phone +41 56 310 5182

Attachment: devWaveform.tgz
Description: application/compressed-tar


References:
ioc reading data from files Pierrick Hanlet

Navigate by Date:
Prev: Re: ioc reading data from files Luedeke Andreas
Next: Re: ioc reading data from files Jiro Fujita
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ioc reading data from files Jiro Fujita
Next: EPICS Threading Issues Richard Pastrick
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·