JDraw trouble
|
|
---|---|
Hello :) I'm trying to build a synoptic screen using JDRAW. This error (error in the attachment) appears if I try to use a graphic element on the synoptic, e.g. ATK Swing -> NumberScalarWheelEditor and, for example, I attach tangotest tg_test/1 ampli to this element. When I select an element from ATKSwing SimpleScalarViewer and attach the ampli attribute from tangotest to it. Everything is OK. Step by step what I do: 1. Invoke conda in the virtual environment where I have all taurus newgui packages installed and the wizard opens. taurus 2. Enter the directory in which to create the entire synoptics in my case c:\develop\projects\gui 3. Then add the proba.jdw file from the synoptic 4. Finally, I get this error when using any ATKSwing object other than SimpleScalarViewer I'm having a hard time finding the reason for this behavior. To make it even more interesting, if I make a preview in JDRAW using Tango Synoptic View, everything works and plugs in the right values. You can do a quick experiment using the wizard to create a GUI with the weather forecast with the taurus newgui command. A wizard will open where, among other things, you need to attach the jdw file made in JDRAW, in our case it can be one element from ATK, e.g. NumberScalarWheelEditor in View -> tango synoptic vie everything works, but when you build the configuration and run the synoptic GUI from the command line, this error appears. |
|
|
---|---|
Hi, I think your problem is coming from the fact that Taurus jdraw_view does not support or only partially some JDraw widgets. See https://gitlab.com/taurus-org/taurus/-/issues/1183#note_549649913 for a reply from the Taurus original main author about another similar example. But maybe there are Taurus experts around here who could give more detailed information? Kind regards, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |