code: def ActivateCard(self, card):
          
          if not hasattr(card, 'connection'):
              card.connection = card.createConnection()
              if None != self.parent.apdutracerpanel:
                  card.connection.addObserver(self.parent.apdutracerpanel)
              card.connection.connect()
          self.dialogpanel.OnActivateCard(card)
docs: Activate a card.