Hi:
On Aug 13, 2016, at 8:24 AM, lzf neu <[email protected]> wrote:
> There are six pv data and I want to display the selected pv data in databrowser by clicking the Check Box widget. I don't know how to make the settings or write script in details in css boy opi or any other methods to cope with this problem.
Ideally, avoid scripts, and do all the processing on the IOC.
Especially when you don’t know how to use scripts, it’s better to avoid them.
If you have several records and you want to select one of them, check the select (“sel”) record, http://www.aps.anl.gov/epics/EpicsDocumentation/AppDevManuals/RecordRef/Recordref-33.html
Somewhat like this:
# PV Shown in a combo box that allows selecting one of the 6 sources
record(mbbi, “choose_one”)
{
field(ZRVL, “0”)
field(ZRST, “Option A”)
field(ONVL, “1”)
field(ONST, “Option B”)
…
}
# Record that will hold the value of one of the six data PVs.
# Simply display this record in the user interface
record(sel, “active_value”)
{
field(SELM, “Specified”)
field(NVL, “ choose_one”)
field(INPA, “record_for_option_A”)
field(INPB, “record_for_option_A”)
…
}
Add FLNK or CP or .. do trigger processing as desired.
-Kay
- References:
- Question about data display in css boy opi databrowser lzf neu
- Navigate by Date:
- Prev:
RE: synApps 5.8 build issue Mooney, Tim M.
- Next:
Re: Drawing on XY graph widget without the use of a PV in CSS Kasemir, Kay
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Question about data display in css boy opi databrowser lzf neu
- Next:
synApps 5.8 build issue Abdalla Ahmad
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|