Menu

#344 TaurusJDrawSynopticsView problem. Jdraw drawings cannot handle DS stopped status.

unassigned
waiting
nobody
None
bug
2016-10-13
2016-09-26
No

Hello!

As mentioned here:
http://www.tango-controls.org/community/forum/c/development/java/jdraw-drawings-cannot-handle-ds-stopped-status/

I had an opportunity to use JDraw drawings in TaurusJDrawSynopticsView widgets in my GUI application, but came across a very critical bug(?).

Let me explain the situation: there are some JDRectangles placed in the test.jdw file, they reflects the real states of some valves, which periodically changes its states(open/close; single valve has it's own DS instance in database). I've placed this drawing inside the TaurusJDrawSynopticsView widget in the UI application, let's call it valveStateUI. If for some reasons, an operator stops valves Device Server instances in Astor(or they simply crash), I can't see this on the valveStateUI, the view just freezes with normal values(I mean open/close, not UNKNOWN or FAULT). If I open Jive, I indeed see that DS's are not responding, but the valveStateUI still shows that Valves are open or closed. The critical thing in this, is when valves physically changes their state(while its DS is not working) and someone looking at the valveStateUI still, erroneously thinks that it represents the real states it might be really dangerous.

Discussion