Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |