Hi,
You can use a menu mux widget to provide a prefix to all
PVs in all widgets on the page. If you set this prefix to EPICS\ it will behave
in the normal way, if you set it to LOC\ then it will lookup the result in a
local store of variables. As this variable doesn't exist it will look the same
as if it was a disconnected PV. I've attached a sample screen that illustrates
the behaviour: $(P):DISABLE is a record that disables all records from reading
from or writing to a device, $(P):P:RBV is one of the records that reads from
the device. When I set the menu mux to "Disabled" then $(P):DISABLE is set to 1
and the widget connected to $(P):P:RBV is connected to LOC\$(P):P:RBV and goes
white.
Tom Cobb, Diamond Light Source Ltd. Diamond
House Harwell Science and Innovation Campus Didcot Oxfordshire OX11
0DE Tel +44 (0) 1235 778582
I would like to be able to disable/enable an
entire EDM GUI in a manner similar to what happens when an IOC goes away and
is restarted. So say a device reset is initiated and you want to disable a GUI
whilst that is happening. This could be based on the state of a binary record.
Would anyone have a suggestion as to how this might be done
please.
Regards
Steve
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
|