I’m prototyping a simple CS-Studio Boy OPI and I would like the
OPI be accessible via webopi,
but I’m experiencing webopi strange behaviour.
I’m interested in seeing in the BOY
screens the status Open/Close of a certain area and some other PV values.
I have a softioc to simulate some process variables to exercise the OPI. To simulate the state of the area I
use a calc record which takes values 0 and 1.
field(SCAN, "10 second")
In the OPI I then have a Text Update widget with a rule
on the text to be displayed to be Area Open or Area Close depending on the value of my simulated PV SIM_CID_AREA_status. All works fine in
the BOY screen, but in the webopi the text is not always displayed. Randomly sometimes I correctly get displayed the text (Area Open or Area Close ) and sometimes I get displayed numbers (0,1).
Please could you help me
to understand why the webopi does not always show the text I specify in the rule and to solve the issue as rules should be supported by webOPI?
I understand I could have a string record instead, but I’m trying to figure out why everything works OK in BOY and I have issues with webopi.
Also it seems I cannot see label widgets placed over a text update widgets in the webopi screen, but this is OK in the
BOY screen. My current solution is to have a label widget placed on the top of the text update widget as below
or a second text update widget without setting a PV over the main text update widget.
Please could you also explain me how to have a label always visible in the webopi screen, also if it is over a test update widget?
Instrumentation and Control Engineer / CCFE
CODAS & IT Dept
United Kingdom Atomic Energy Authority
Culham Science Centre
Tel: 01235 464739
Mob: +44 (0) 7964 668742