· 2001-10-03 · % dm2k -displayFont scalable or %medm start dm2k in execution-only mode....

Preview:

Citation preview

Other tools can be also used to create GUI.

Tcl/TKPython with TkwidgetSAD with Tk widgetLabView, ...Visual Basic, Delphi , X-window(Motif, GTK,...) ,....

Developed by John Sinclair at Oak Ridge.

Easy to add widgets.

Better color rules and visibility than any of the others,

Includes the ability to put calc record type PVs in the

local display.

Starting MEDM/DM2K in Edit Mode:

% dm2k -displayFont scalable

or

%medm

start dm2k in execution-only mode.

Execution modes in MEDM/DM2K

Edit mode Edit Display and property of

objects on the display

Execute modeconnects objects to EPICS channels.

Edit Menu in main menu bar Floating Edit Menu :Shift+mouse 3

Graphics/Monitor/Controls objects can be related to the channel.

Value of the channel or change of value of the channel changes appearance of the objects.

Pick Up Color from Color Palette

"File -> New Display" Menu creates a newDisplay on a screen.

»

»

»

»

An object can can change its color according to the value of a related channel. "Color Rule" is a table of value ranges and related color.You can define number of color rules in a color-rule file.

"Zeus-FB" is a name of this colormap.Each line has lower value, upper value, and color.Color is specified by number in color map.

A "Dynamic Symbol" object can can change its according to the value of a related channel. "Graphic Rule" is a table of value ranges and related files .

dm2k command syntax�������������� �� ������������� �����������������������

����������������� ������ !�"�������#�����$����%�&�� '�!���������#�(�!�)�����*���#+�!���������#�(�!�)�����*���#�������'����,�-�- &�������*�&�%�� ����������������������������������� "������ ���������$�

����&�����������&�� ���������������� ������ .�/�0�/�1�2 3�0�4�3�. 5�6�7 .�1�3�0�3�8�0�/ 5�6�9�2�.�$����%�&�� 3�:�:�0�; <�3�1�7�6 .�=$8�.�2$4�2�=�2$4�6�9

������������� ���&������������� 7�=�9 4�9 7�/�3�> 6�9�0�; <�6�>�/ ?@9�6 A$B :�=�2�C������%���� >�6�9ED�2F:�3�7�2$4�1�4�:�3�2�/ 4�9 7�/$<�6�2�/ >�4�.$:�0�3�; :�7�6�2�6�1�6�0��%���������*�� .�=$:�:�6�7�2 7�/$<�6�2�/ >�4�.$:�0�3�; :�7�6�2�6�1�6�0�G 4�H�9�6�7�/ /�I�4�.�2$4�9�H 4�9�.�2$3�9�1�/�.��%$����� =�.�/ :�7�4�J�3�2�/ 1�6�0�6�7 <�3�:���*���� >�=$<�: 1�6$<�:�4�0�/�> 4�9 5�3�0�0�8�3�1�K�L�7�/�.�6�=�7�1�/�. 2�6 .�2�>�6�=�2 3�9�> /�I�4�2��M�����N���*�����O�����������& =�.�/ 8�4�H 1�=�7�.�6�7�.������������� 7�/�>�=�1�/�> /�7�7�6�7 <�3�.�.�3�H�/�.��P���O���������������O�������%�� >�/�5�4�9�/ 2$Q�/ R$S :�6�.�4�2$4�6�9�4�9�H :�6�0�4�1$; TVU�W�B�S�X 6�7 Y�Z�X�W��)���&�M������ >�4�.$:�0�3�; J�/�7�8�6�.�/ /�7�7�6�7 <�/�.�.�3�H�/�.�����M�*�� :�7�6�J�4�>�/ >�/$8�=�H�H�4�9�H 4�9�5�6�7�<�3�2$4�6�9��������%�[�&�� 7�=�9 \�]�] :�7�6�2�6�1�6�0 4�9 .$;�9�1�Q�7�6�9�6�=�. <�6�>�/��[������ :�7�4�9�2 2$Q�4�. <�/�.�.�3�H�/

,�-�- &�������*�&�%�� ������������� ������������������������������^�����������&��

Recommended