Table of Contents

Icons

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

Example tree control with icons

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
Analyzer card ANALYZERCARDS Analyzer card.
Application APPLICATION Application.
Arrow pointing down arrowDown Arrow pointing down
Arrow pointing up arrowUp Arrow pointing up
ASI port ASIPort ASI port.
ATSC ATSC ATSC.
Backup Backup Backup (See also "Main").
Carrier Carrier Carrier.
Conditional Access Table, contains EMM PID CAT Conditional Access Table, contains EMM PID.
Data PID DATA Data PID.
Data carousel DATACAROUSEL Data carousel.
Device Device Device.
Direct connection DirectConnection Direct connection.
DVBS card DVBSCard DVBS card.
ECM ECM Contains encrypted key for EMM.
EIT EIT Event Information Table.
EMM EMM Encrypted Message.
Fixed input FixedInput Fixed input.
Fixed output FixedOutput Fixed output.
GBE port GBEPort GBE port.
General General General
General input GeneralInput General input.
General PID GeneralPID General PID.
General service GeneralService General service.
General transport stream GeneralTransportStream Obsolete: Use GT instead.
General transport stream GT General transport stream
IDP not OK IDP-NOK IDP not OK. Available from DataMiner 9.6.11 onwards.
IDP OK IDP-OK IDP OK. Available from DataMiner 9.6.11 onwards.
IDP-Running IDP-Running IDP running. Available from DataMiner 9.6.11 onwards.
IDP-Unknown IDP-Unknown IDP unknown. Available from DataMiner 9.6.11 onwards.
Input Input Input.
Input and output InputAndOutput Input and output.
Input transport stream InputTransportStream Input transport stream.
Blue LED LED-Blue Blue LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Cyan LED LED-Cyan Cyan LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Lime green LED LED-Lime Lime green LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Red LED LED-Red Red LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Silver LED LED-Silver Silver LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Yellow LED LED-Yellow Yellow LED. Available from DataMiner 10.1.2 onwards (RN 28566).
Main Main Main (See also “Backup”)
Matrix Matrix Matrix.
MIP MIP MIP.
MPE MPE MPE.
Audio PID MPEG2_AUDIO Audio PID.
Video PID MPEG2_VIDEO Video PID.
New item New-Item New item. Available from DataMiner 10.0.13 (RN 28060) onwards.
Network Information Table NIT Network Information Table: Info about muxes and TS, private stream info, e.g. Teletext.
Object carousel OBJECTCAROUSEL Object carousel.
Output Output Output.
Output Transport Stream OutputTransportStream Output Transport Stream.
Program Association Table PAT Program Association Table: All programs available in TS.
Program Clock Reference PCR Program Clock Reference.
PD PD PD.
Packetized elementary stream PES Packetized elementary stream.
Program Map Table PMT Program Map Table: Info about program.
Primary Primary Primary (See also “Secondary”)
Processor Processor Processor.
Radio RADIO Service of type Radio.
Rectangle 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.
RST RST RST.
Satellite Satellite Satellite.
Service Description Table SDT Service Description Table.
Secondary Secondary Secondary (See also “Primary”)
SI SI SI.
Empty storage cell StorageCellEmpty Empty storage cell.
Full storage cell StorageCellFull Full storage cell.
Storage tape StorageTape Storage tape.
Subtitle SUBTITLE Subtitle.
Time and date Table TDT Time and date Table.
Teletext PID TELETEXT Teletext PID.
Transponder Transponder Transponder.
Leased transponder TransponderLeased Leased transponder.
Trash can Trash Trash can. Available from DataMiner 10.0.13 (RN 28060) onwards.
Service of type Television TV Service of type Television.
Unknown Unknown Unknown.
VSAT 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>