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

Subject: Re: Waveform string and initialization
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Fri, 11 Mar 2011 10:45:39 -0600
On Thursday 10 March 2011 19:26:33 [email protected] wrote:
> I have a Waveform record which is used as a string.
> Is there a way to initialize it from the ioc shell?
>
> dbpf waveform "HELLO"
>
> obviously doesn't work.

I think you need to upgrade your version of Base; that command works fine on 
EPICS Base versions back to 3.14.10 (which came out well over two years ago), 
but not on 3.14.9:

tux% cat > db/wf.db
record(waveform, "waveform") {
    field(FTVL, "CHAR")
    field(NELM, "80")
}
tux% ~iocapps/R3.14.10/base/3-14-10-asd1/bin/linux-x86_64/softIoc -d db/wf.db
Starting iocInit
############################################################################
## EPICS R3.14.10-asd1 $R3-14-10$ $2008/10/27 19:39:04$
## EPICS Base built Nov 10 2008
############################################################################
iocRun: All initialization complete
epics> dbl
waveform
epics> dbgf waveform
epics> dbpf waveform, HELLO
DBR_CHAR[6]:         "HELLO"
epics> dbgf waveform
DBR_CHAR[6]:         "HELLO"

- Andrew
-- 
An error is only a mistake if you don't learn from it.
When you learn something from it, it becomes a lesson.


References:
Waveform string and initialization emmanuel_mayssat

Navigate by Date:
Prev: Waveform string and initialization emmanuel_mayssat
Next: Intelligent Temperature and MKS Instruments Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Waveform string and initialization emmanuel_mayssat
Next: Intelligent Temperature and MKS Instruments Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·