Experimental Physics and Industrial Control System
|
The toggle button interfaces to a boolean PV, which is basically an enum PV with two states.
Create an mbbo record on the IOC, either add it to your existing IOC, or to a new soft IOC, which has two states and uses
000000 for the zero value,
111111 for the one value.
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Donny Domagoj Cosic via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, December 13, 2021 9:03 AM
To: Tech-talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] CSS Toggle button advice
Hello,
I would like to create a toggle button that sends 111111 when pressed
and 000000 when depressed to a PV that in turned sends a command to a
device using StreamDevice. I am not sure how to do this because the only
toggle type widget available in CSS is a boolean button which can send 1
or 0. Could I do this using a padding in the device proto file, but how
to make the padding depended on the input?
Any advice how this can be achieved would be greatly appreciated.
Regards,
--
Donny Domagoj Cosic
Laboratory for Ion Beam Interactions
Ruđer Bošković Institute
Bijenička cesta 54 | HR-10 000 Zagreb | CROATIA
T: +385 1 4561 041 | @: dcosic at irb.hr | www.irb.hr
|
- Replies:
- Re: [EXTERNAL] CSS Toggle button advice Donny Domagoj Cosic via Tech-talk
- References:
- CSS Toggle button advice Donny Domagoj Cosic via Tech-talk
- Navigate by Date:
- Prev:
CSS Toggle button advice Donny Domagoj Cosic via Tech-talk
- Next:
RE: CSS (Eclipse and Phoebus) super slow on a server with multiple users Jokinen Antti (F4E) via Tech-talk
- 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:
CSS Toggle button advice Donny Domagoj Cosic via Tech-talk
- Next:
Re: [EXTERNAL] CSS Toggle button advice Donny Domagoj Cosic via Tech-talk
- 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
|
ANJ, 14 Dec 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|