0 Replies Latest reply on Dec 1, 2017 5:12 PM by user_365962704

    Getting the components placed on the schematic to display on the customizer interface

    user_365962704

      Hi,

       

      So i'm working on a custom component and wanted to develop a customizer for it, the component is for a external IC that communicates via SPI with the PSoC device.

       

      So i found this post on the forum, but it's not solved (at least not on the post): Getting a list of components of a specific type to show in the customizer interface

       

      After reading the Bootloader customizer source i found the section that use the GetBootloaderCommunicationComponents function.

       

      m_communicationComponentList = new List<string>();
      m_communicationComponentList.Add(CyParameters.CUSTOM_INTERFACE);
      try
      {
           m_communicationComponentList.AddRange(m_parameters.InstQuery.DesignQuery.GetBootloaderCommunicationComponents());
      }
      catch
      {
           Debug.Assert(false);
      }
      

       

      From the customizer documentation:

      GetBootloaderCommunicationComponents():

      Gets all of the communication components currently placed within the design that can be used by the bootloader for

      communication with the Host. Clients can use register themselves with ICyInstEdit_v1.NotifyWhenDesignUpdates() to be

      notified when the design changes which may be the result of adding or removeing a communications component.

       

       

      So my question is:

      Can i get a list of components placed on my schematic without using this function? to after filter and then display all the SPI Master components to display on the custom component cutomizer.

       

      Regards,

      Carlos Diaz