...% dm2k -displayFont scalable or %medm start dm2k in execution-only mode. Execution modes in...

24

Transcript of ...% dm2k -displayFont scalable or %medm start dm2k in execution-only mode. Execution modes in...

Page 1: ...% 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 mode
Page 2: ...% 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 mode
Page 3: ...% 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 mode
Page 4: ...% 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 mode
Page 5: ...% 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 mode
Page 6: ...% 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 mode
Page 7: ...% 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 mode

Other tools can be also used to create GUI.

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

Page 8: ...% 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 mode
Page 9: ...% 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 mode
Page 10: ...% 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 mode

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.

Page 11: ...% 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 mode

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.

Page 12: ...% 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 mode
Page 13: ...% 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 mode

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

Page 14: ...% 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 mode

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.

Page 15: ...% 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 mode
Page 16: ...% 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 mode

Pick Up Color from Color Palette

Page 17: ...% 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 mode

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

Page 18: ...% 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 mode
Page 19: ...% 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 mode
Page 20: ...% 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 mode
Page 21: ...% 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 mode

»

»

»

»

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.

Page 22: ...% 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 mode

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 .

Page 23: ...% 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 mode
Page 24: ...% 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 mode

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�/

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