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

Subject: CSS/BOY macro substitution problem
From: PaweÅ PrÄdki <[email protected]>
To: TechTalk <[email protected]>
Date: Thu, 05 Aug 2010 12:00:08 +0200
Hello,

I've started using the CSS ennvironment and BOY for creating GUIs but I've come across a problem with macro substitution.

I'm creating a GUI for a data acquisition system which consists of several DAQ boards. My aim is to have only one XY graph visible at once on the screen and be able to switch between them using, for example, action buttons.

The waveform database records are of the format DAQ$(cardno):WAVE so that setting the macro cardno=0 I get the waveform from the first board and so on. The action buttons are supposed to open the same .opi file, replacing the previous one, but changing the macro value. However, when I specify the macro value for the whole display I am not able to change it using the action buttons. Somehow, the display macro value definition trumps the one given by the action button.

The only way I was able to make it work was not specifying any display macro value. This, however, results in an ugly first screen where all the controls are disconnected since the macro is undefined. Clicking one of the action buttons connects to the correct card.

Is there a way around this or maybe a different solution altogether?

Regards,
Pawel Predki

Replies:
RE: CSS/BOY macro substitution problem Chen, Xihui

Navigate by Date:
Prev: Re: caPutLog Performance Matthias Clausen
Next: Problem with streamDevice and I/O Intr Florian Feldbauer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: caPutLog Performance Matthias Clausen
Next: RE: CSS/BOY macro substitution problem Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·