Creating a light alarm symbol using the image list creation wizard

To create an alarm symbol that indicates status:
  1. In the Symbol Editor, create a new symbol.
    For more information, see Making a new symbol.
  2. Click Add Image List.
    The Image List Creation wizard opens.
    diasym_addimagelistbutton18.png
    The Add Image List button
  3. Click Next to pass the welcome page.
    Note
    Check the Do not show this page next time box so the welcome page is not displayed the next time you use the Image List Creation wizard.
  4. In the main dialog, click the plus button to add images.
    diasym_addimagesbutton19.png
    Adding images
  5. In the Choose Image File browser, navigate to the <installdir>/jviews-diagrammer810/bin/symboleditor/data/examples directory.
  6. Select the following image files:
    • led_circle_green.png
    • led_circle_orange.png
    • led_circle_red.png
  7. Click Open.
    The images are added to the list.
  8. Click On Order.
  9. Create a new parameter by typing statusvalue in the Parameter field.
    diasym_imagelistimagesadded20.png
    Adding a new parameter for the image list
  10. Click Finish.
    The images, parameter and conditions are added to the symbol.
    Note
    The On Name option is used to set the visible image using the image name. By default, the image name is the name of the file imported. You can rename each image using the rename button in the Image List Creation wizard.
  11. Delete the Text and Shape Objects.
    The MultipleIcon object is now the base object.
    diasym_imagelistresult21.png
    MultipleIcon as base object
  12. Create the following three allowed values on the statusvalue parameter.
    See Setting allowed values for a parameter for more information.
    Allowed values for the statusvalue parameter
    Allowed Value Name
    Value
    Good
    0
    Warning
    1
    Problem
    2
  13. Select Good from the Default Value list.
  14. Test this symbol by clicking Preview.
diasym_lightsymbol22.png
A light alarm symbol
As the value of statusvalue changes, a different PNG image becomes visible. For example, when statusvalue is equal to Problem, the red image blinks to give an alarm.