Table of Contents

Icons

Custom icons can be used for the nodes in a tree control to enhance the visual experience:

alt text

A global icon set can be found in C:\Skyline DataMiner\Protocols\Icons.xml. All protocols can link to icons from this file.

By default, the icon in the tree items will be chosen according to this priority:

  1. The <Icon>...</Icon> defined on the table parameter.
  2. The <Icon ref="..."> defined on the table parameter (referencing an icon in C:\Skyline DataMiner\Protocols\Icons.xml).
  3. A default icon if no <Icon> is defined on the table parameter.

By specifying a column in OverrideIconColumns (under the TreeControl tag), you can apply a custom icon based on a cell value in that row. The column must be a parameter of type “discreet” and all discrete values must have an iconRef attribute referring to an icon. If the iconRef attribute is empty or invalid, or the value is “Not Initialized”, a default icon will be displayed.

<Discreets>
  <Discreet iconRef="audio">
    <Value>0</Value>
    <Display>Off</Display>
  </Discreet>
  <Discreet iconRef="video">
    <Value>1</Value>
    <Display>Right</Display>
  </Discreet>
</Discreets>
Icon Icon Key Description
alt text ANALYZERCARDS Analyzer card.
alt text APPLICATION Application.
alt text arrowDown Arrow pointing down
alt text arrowUp Arrow pointing up
alt text ASIPort ASI port.
alt text ATSC ATSC.
alt text Backup Backup (See also “Main”).
alt text Carrier Carrier.
alt text CAT Conditional Access Table, contains EMM PID.
alt text DATA Data PID.
alt text DATACAROUSEL Data carousel.
alt text Device Device.
alt text DirectConnection Direct connection.
alt text DVBSCard DVBS card.
alt text ECM Contains encrypted key for EMM.
alt text EIT Event Information Table.
alt text EMM Encrypted Message.
alt text FixedInput Fixed input.
alt text FixedOutput Fixed output.
alt text GBEPort GBE port.
alt text General General
alt text GeneralInput General input.
alt text GeneralPID General PID.
alt text GeneralService General service.
alt text GeneralTransportStream Obsolete: Use GT instead.
alt text GT General transport stream
alt text IDP-NOK IDP not OK. Available from DataMiner 9.6.11 onwards.
alt text IDP-OK IDP OK. Available from DataMiner 9.6.11 onwards.
alt text IDP-Running IDP running. Available from DataMiner 9.6.11 onwards.
alt text IDP-Unknown IDP unknown. Available from DataMiner 9.6.11 onwards.
alt text Input Input.
alt text InputAndOutput Input and output.
alt text InputTransportStream Input transport stream.
alt text LED-Blue Blue LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text LED-Cyan Cyan LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text LED-Lime Lime green LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text LED-Red Red LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text LED-Silver Silver LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text LED-Yellow Yellow LED. Available from DataMiner 10.1.2 onwards (RN 28566).
alt text Main Main (See also “Backup”)
alt text Matrix Matrix.
alt text MIP MIP.
alt text MPE MPE.
alt text MPEG2_AUDIO Audio PID.
alt text MPEG2_VIDEO Video PID.
alt text New-Item New item. Available from DataMiner 10.0.13 (RN 28060) onwards.
alt text NIT Network Information Table: Info about muxes and TS, private stream info, e.g. Teletext.
alt text OBJECTCAROUSEL Object carousel.
alt text Output Output.
alt text OutputTransportStream Output Transport Stream.
alt text PAT Program Association Table: All programs available in TS.
alt text PCR Program Clock Reference.
alt text PD PD.
alt text PES Packetized elementary stream.
alt text PMT Program Map Table: Info about program.
alt text Primary Primary (See also “Secondary”)
alt text Processor Processor.
alt text RADIO Service of type Radio.
alt text RECT-[ColorName] Filled rectangle, where [ColorName] is a color name (e.g. RECT-AliceBlue). For a full list of the available color names, refer to https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.colors?view=netframework-4.8. Available from DataMiner 9.6.11 onwards.
alt text RST RST.
alt text Satellite Satellite.
alt text SDT Service Description Table.
alt text Secondary Secondary (See also “Primary”)
alt text SI SI.
alt text StorageCellEmpty Empty storage cell.
alt text StorageCellFull Full storage cell.
alt text StorageTape Storage tape.
alt text SUBTITLE Subtitle.
alt text TDT Time and date Table.
alt text TELETEXT Teletext PID.
alt text Transponder Transponder.
alt text TransponderLeased Leased transponder.
alt text Trash Trash can. Available from DataMiner 10.0.13 (RN 28060) onwards.
alt text TV Service of type Television.
alt text Unknown Unknown.
alt text VSAT VSAT.
<Param id="1000" trending="false">
  <Name>PIDTable</Name>
  <Description>PID Table</Description>
  <Type>array</Type>
  <ArrayOptions index="0">
    <ColumnOption idx="0" pid="1001" type="custom" options=";"/>
    <ColumnOption idx="1" pid="1002" type="custom" options=";"/>
  </ArrayOptions>
  <Display>
    <RTDisplay>true</RTDisplay>
  </Display>
  <Icon ref="GeneralPID" />
  <Measurement>
    <Type>discreet</Type>
    <Discreets>
      <Discreet iconRef="CAT">
        <Display>CAT</Display>
        <Value>1</Value>
      </Discreet>
      <Discreet iconRef="DATA">
        <Display>DATA</Display>
        <Value>2</Value>
      </Discreet>
      <Discreet iconRef="ECM">
        <Display>ECM</Display>
        <Value>3</Value>
      </Discreet>
    </Discreets>
  </Measurement>
</Param>

Now, in the tree control, we need to define the parameter ID of the column containing the iconRef.

<TreeControls>
  <TreeControl parameterId="5000" readOnly="true">
     ...
    <OverrideIconColumns>1002</OverrideIconColumns>
  </TreeControl>
</TreeControls>