    if( oTmpArray )
    {
      oTmpArray.SortByName();
      string sTmp;
      foreach(sTmp,oTmpArray.EnumIDs())
      {
        object oTmp = dom.GetObject( sTmp );
        if( oTmp )
        {
          boolean bHasDPs = (oTmp.DPs().EnumEnabledVisibleIDs().Length());
          boolean bIsSysVarDP = false;
          object oTmpDP = dom.GetObject( oTmp.DefaultDPWrite() );
          if( oTmpDP )
          {
            ! This prevents that a channel linked with a system variable is visible in