EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Thu, 29 Sep 2005 10:48:40 -0500
Kay-Uwe Kasemir wrote:

Hi Marty:

I understand this is not the final tutorial on how
to use the new ideas, but I got stuck when
trying to match this definition:
struct(MbbiState) {
    field(name,string)
    field(value,array(octet[]))
    field (severity,menu(menuAlarmSevr))
}

record(MbbiRecord) extends RecordCommon {
     field(state, array(struct(MbbiState)[])) {...}
     ...
}

and this instance example:

MbbiRecord dac16 = {
    state = [3] {
        {“state1”,[2]{0x00,0x01}},
        {“state2”,[2]{0x00,0x02}},
    ...
}

It might be a little easier to read if the 'severity'
values were added, or the form name="state1", value="..."


Agreed. I have made the change. I am attaching the latest version.

Thanks,

Marty

was used. Or show all options:
    state = [3] {
        # Verbose
        {name=“state1”, value=[2]{0x00,0x01}, severity=NORMAL},
        # Terse
        {“state2”, [2]{0x00,0x02}, NORMAL},
        # Defaults for unspecified 'rest'
        {“state3”, [2]{0x00,0x04}}

The "scan" data acqu. example for the new wait/block
processing modifiers is very good!

-Kay


Attachment: EPICS_V4_Database.ppt
Description: MS-Powerpoint presentation


References:
ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database Marty Kraimer
Re: ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database Marty Kraimer
Re: ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database Marty Kraimer

Navigate by Date:
Prev: [Fwd: Re: Link arrays / syntax] Marty Kraimer
Next: Re: ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database Kay-Uwe Kasemir
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ICALEPCS 2005: EPICS workshop: EPICS V4 Runtime Database Kay-Uwe Kasemir
Next: Re: Failure probing for event generator Korhonen Timo
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·